fix: update versions in release and canary workflows#911
Conversation
|
@lily-de I wish github would report when workflows syntax is wrong: https://github.com/block/goose/actions/runs/13040105120 is a silent failure otherwise |
kalvinnchau
left a comment
There was a problem hiding this comment.
should we evaluate something like https://github.com/crate-ci/cargo-release for helping with cargo version changes (instead of sed?)
.github/workflows/release.yml
Outdated
| run: | | ||
| git config --global user.name "github-actions" | ||
| git config --global user.email "[email protected]" | ||
| git commit -am "Update versions to ${{ needs.prepare-version.outputs.version }}" |
There was a problem hiding this comment.
nit: should we be more explicit and select the exact files we're committing (Cargo.toml and ui/desktop/package.json) just in case other things change
| # Something like "1.0.0-canary.<short sha>" | ||
| SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7) | ||
| VERSION="1.0.0-canary.${SHORT_SHA}" | ||
| echo "version=$VERSION" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
we can use the git describe method to get the latest tag
❯ git describe --tags --abbrev=0
v1.0.2
something like
SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7)
LATEST_TAG=$(git describe --tags --abbrev=0)
# Strip the leading 'v' if it exists
CLEAN_TAG=${LATEST_TAG#v}
VERSION="${CLEAN_TAG}-canary.${SHORT_SHA}"
echo "version=$VERSION" >> $GITHUB_OUTPUT
* origin/main: fix: clarify linux cli install only (#927) feat: update ui for ollama host (#912) feat: add CONFIGURE=false option in install script (#920) fix: truncation agent token calculations (#915) fix: request payload for o1 models (#921) Update SupportedEnvironments.js so others don't get confused on why they can not open the macos app on x86 (#888) fix: improve configure process with error message (#919) docs: Goose on Windows via WSL (#901) fix: more graceful handling of missing usage in provider response (#907) feat: rm uv.lock cause it points to square artifactory (#917) feat: Update issue templates for bug report for goose (#913) fix: post endpoint url on sse endpoint event (#900)
* main: (28 commits) ci: per semver build metadata should be after + (#971) fix: temp fix to make CI workflow pass (#970) chore: bump patch version to 1.0.3 (#967) fix: load shell automatically from env for GUI (#948) fix: update versions in release and canary workflows (#911) docs: fix typo, name (#963) docs: typo fix (#961) chore: remove gpt-3.5-turbo UI suggestion, as it is deprecated (#959) chore: remove o1-mini suggestion from UI add model view (#957) fix: missing field in request (#956) docs: update provider docs, fix rate limit link (#943) fix: clarify linux cli install only (#927) feat: update ui for ollama host (#912) feat: add CONFIGURE=false option in install script (#920) fix: truncation agent token calculations (#915) fix: request payload for o1 models (#921) Update SupportedEnvironments.js so others don't get confused on why they can not open the macos app on x86 (#888) fix: improve configure process with error message (#919) docs: Goose on Windows via WSL (#901) fix: more graceful handling of missing usage in provider response (#907) ...
Co-authored-by: Salman Mohammed <[email protected]>
Co-authored-by: Salman Mohammed <[email protected]>
Key changes:
workflow succeeded: https://github.com/block/goose/actions/runs/13045348906
test release (draft) - tagged it as
test.1.0.1: https://github.com/block/goose/releases/tag/untagged-fe0426d4b3b96b1ddc30downloaded the CLI and App. looks like the version injections worked:

