Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: |
RC_NAME=$(echo ${{ github.ref_name }} | sed 's/release\///')
echo "FEAT_NAME=" >> $GITHUB_ENV
echo "TAG_NAME=rc-$RC_NAME" >> $GITHUB_ENV
echo "TAG_NAME=$RC_NAME" >> $GITHUB_ENV
- if: github.ref_name == 'master'
run: |
echo "FEAT_NAME=" >> $GITHUB_ENV
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/setup-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ jobs:

- name: Calculate Release Versions
id: release-version
env:
CUSTOM_VERSION: ${{ inputs.customVersion }}
VERSION_INCREMENT: ${{ inputs.versionIncrement }}
run: |
customVersion="${{ inputs.customVersion }}"
versionIncrement="${{ inputs.versionIncrement }}"
customVersion="$CUSTOM_VERSION"
versionIncrement="$VERSION_INCREMENT"

increment_version() {
local currentVersion=$1
Expand Down Expand Up @@ -84,7 +87,7 @@ jobs:
# Use date-based branch naming instead of version-based because we release
# both extensions (toolkit and amazonq) from the same branch, and they may
# have different version numbers. We can change this in the future
echo "BRANCH_NAME=rc-$(date +%Y%m%d)" >> $GITHUB_OUTPUT
echo "BRANCH_NAME=release/rc-$(date +%Y%m%d)" >> $GITHUB_OUTPUT

- name: Create RC Branch and Update Versions
env:
Expand Down
Loading