-
Notifications
You must be signed in to change notification settings - Fork 43
ci: fix version script and update release.yaml #303
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
Conversation
@@ -54,25 +54,17 @@ if [[ "${ENVBUILDER_RELEASE:-}" == *t* ]]; then | |||
# $last_tag will equal `git describe --always` if we currently have the tag | |||
# checked out. | |||
if [[ "${last_tag}" != "$(git describe --always)" ]]; then | |||
# make won't exit on $(shell cmd) failures, so we have to kill it :( |
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.
review: I don't think we need this given how we're building
@@ -39,3 +39,9 @@ cdroot() { | |||
log() { | |||
echo "$*" 1>&2 | |||
} | |||
|
|||
# error prints an error message and returns an error exit code. |
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.
review: missed copy-pasta
- name: Get version | ||
id: get-version | ||
env: | ||
ENVBUILDER_RELEASE: "t" |
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.
review: the updated script will emit -dev
versions unless this is explicitly set. In this case it will validate that the version is an annotated tag.
Fixes some issues in the version script related to dev versions.