-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Polish release workflow (#1843)
* polish v2 release * rearrange comment * ci * reduce build size * ci
- Loading branch information
1 parent
7d76378
commit ccda1e3
Showing
3 changed files
with
17 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,6 +132,11 @@ install-tools: | |
# update cosign in docs/verify-signature.md when updating this version | ||
go install github.com/sigstore/cosign/cmd/[email protected] | ||
|
||
# install builder cmd for better CI | ||
.PHONY: install-builder | ||
install-builder: | ||
cd $(TOOLS_MOD_DIR) && go install go.opentelemetry.io/collector/cmd/builder | ||
|
||
.PHONY: lint | ||
lint: | ||
revive -config revive/config.toml -formatter friendly ./... | ||
|
@@ -233,7 +238,7 @@ release-prep: | |
@rm -rf release_deps | ||
@mkdir release_deps | ||
@echo 'v$(CURR_VERSION)' > release_deps/VERSION.txt | ||
./buildscripts/download-dependencies.sh release_deps | ||
bash ./buildscripts/download-dependencies.sh release_deps | ||
@cp -r ./plugins release_deps/ | ||
@cp service/com.observiq.collector.plist release_deps/com.observiq.collector.plist | ||
@jq ".files[] | select(.service != null)" windows/wix.json >> release_deps/windows_service.json | ||
|