File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 4949 run : |
5050 RC_NAME=$(echo ${{ github.ref_name }} | sed 's/release\///')
5151 echo "FEAT_NAME=" >> $GITHUB_ENV
52- echo "TAG_NAME=rc- $RC_NAME" >> $GITHUB_ENV
52+ echo "TAG_NAME=$RC_NAME" >> $GITHUB_ENV
5353 - if : github.ref_name == 'master'
5454 run : |
5555 echo "FEAT_NAME=" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 4343
4444 - name : Calculate Release Versions
4545 id : release-version
46+ env :
47+ CUSTOM_VERSION : ${{ inputs.customVersion }}
48+ VERSION_INCREMENT : ${{ inputs.versionIncrement }}
4649 run : |
47- customVersion="${{ inputs.customVersion }} "
48- versionIncrement="${{ inputs.versionIncrement }} "
50+ customVersion="$CUSTOM_VERSION "
51+ versionIncrement="$VERSION_INCREMENT "
4952
5053 increment_version() {
5154 local currentVersion=$1
8487 # Use date-based branch naming instead of version-based because we release
8588 # both extensions (toolkit and amazonq) from the same branch, and they may
8689 # have different version numbers. We can change this in the future
87- echo "BRANCH_NAME=rc-$(date +%Y%m%d)" >> $GITHUB_OUTPUT
90+ echo "BRANCH_NAME=release/ rc-$(date +%Y%m%d)" >> $GITHUB_OUTPUT
8891
8992 - name : Create RC Branch and Update Versions
9093 env :
You can’t perform that action at this time.
0 commit comments