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 49
49
run : |
50
50
RC_NAME=$(echo ${{ github.ref_name }} | sed 's/release\///')
51
51
echo "FEAT_NAME=" >> $GITHUB_ENV
52
- echo "TAG_NAME=rc- $RC_NAME" >> $GITHUB_ENV
52
+ echo "TAG_NAME=$RC_NAME" >> $GITHUB_ENV
53
53
- if : github.ref_name == 'master'
54
54
run : |
55
55
echo "FEAT_NAME=" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 43
43
44
44
- name : Calculate Release Versions
45
45
id : release-version
46
+ env :
47
+ CUSTOM_VERSION : ${{ inputs.customVersion }}
48
+ VERSION_INCREMENT : ${{ inputs.versionIncrement }}
46
49
run : |
47
- customVersion="${{ inputs.customVersion }} "
48
- versionIncrement="${{ inputs.versionIncrement }} "
50
+ customVersion="$CUSTOM_VERSION "
51
+ versionIncrement="$VERSION_INCREMENT "
49
52
50
53
increment_version() {
51
54
local currentVersion=$1
84
87
# Use date-based branch naming instead of version-based because we release
85
88
# both extensions (toolkit and amazonq) from the same branch, and they may
86
89
# 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
88
91
89
92
- name : Create RC Branch and Update Versions
90
93
env :
You can’t perform that action at this time.
0 commit comments