File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 4040 - name : Check if tag already exists and create if not
4141 id : create_tag
4242 env :
43- RELEASE_TAG : " rosetta-dsl-v ${{ inputs.release_version }}"
43+ RELEASE_TAG : " ${{ inputs.release_version }}"
4444 run : |
4545 # Fetch all tags to check for existence
4646 git fetch --tags
Original file line number Diff line number Diff line change 99
1010jobs :
1111 release :
12- runs-on : ubuntu-latest
13- steps :
14- - name : Get tag name
15- id : get_tag
16- run : |
17- TAG_NAME=${GITHUB_REF#refs/tags/}
18- # Extract version from tag name (e.g., 'rosetta-dsl-v1.2.3' -> '1.2.3')
19- RELEASE_VERSION=${TAG_NAME#rosetta-dsl-v}
20- echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT
21- echo "release_version=$RELEASE_VERSION" >> $GITHUB_OUTPUT
22-
23- - name : Call core release workflow
24- uses : ./.github/workflows/release-core.yml
25- with :
26- release_version : ${{ steps.get_tag.outputs.release_version }}
12+ uses : ./.github/workflows/release-core.yml
13+ with :
14+ release_version : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments