-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(releasing): updates per templates pointing to latest on main
Signed-off-by: Vaughn Dice <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
- "v[0-9]+.[0-9]+" | ||
tags: | ||
- "v*" | ||
|
||
|
@@ -289,7 +290,14 @@ jobs: | |
|
||
- name: Set the spin tag | ||
shell: bash | ||
run: echo "SPIN_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV | ||
run: | | ||
echo "SPIN_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV | ||
- name: Set the PR base branch | ||
shell: bash | ||
run: | | ||
IFS=. read -r major minor patch <<< "${{ env.SPIN_TAG }}" | ||
echo "RELEASE_BRANCH=$major.$minor" >> $GITHUB_ENV | ||
- name: Change sdk version | ||
shell: bash | ||
|
@@ -312,7 +320,7 @@ jobs: | |
title: "feat(templates): update sdk to ${{ env.SPIN_TAG }}" | ||
body: Update the SDK version used by the templates | ||
branch: update-sdk-${{ env.SPIN_TAG }} | ||
base: main | ||
base: ${{ env.RELEASE_BRANCH }} | ||
delete-branch: true | ||
committer: fermybot <[email protected]> | ||
author: fermybot <[email protected]> | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
SDK_VERSION ?= v2.0.0-pre0 | ||
SDK_VERSION ?= v0.0.0 | ||
|
||
bump-versions: bump-go-versions bump-rust-versions | ||
|
||
|