-
Notifications
You must be signed in to change notification settings - Fork 172
Create CI Workflows #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Just so it's in the GH history: Discord Thread PR builds should include the commit hash of the latest commit in the PR's branch |
Can you pass both a Version and a Gitsha instead of just the ref?
Version is the Semver Tag and Gitsha is the sha of the git commit it is building on. |
GOOS: ${{ matrix.goos }} | ||
GOARCH: ${{ matrix.goarch }} | ||
run: | | ||
GOOS=linux GOARCH=arm GOARM=7 go build -ldflags="-s -w -X kvm.builtAppVersion=dev-${GIT_COMMIT:0:7}" -o bin/jetkvm_app cmd/main.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you've entered the matrix, then this line should use it :)
GOOS=${matrix.goos} GOARCH=${matrix.goarch} GOARM=7 go build -ldflags="-s -w -X kvm.builtAppVersion=dev-${GIT_COMMIT:0:7}" -o bin/jetkvm_app cmd/main.go
Might it be better to execute the Makefile instead duplicating the one line? |
Changelogs:
Workflows: