Skip to content

Commit e107f1d

Browse files
Merge pull request #3 from dschwartznyc/develop
update release core and on tag
2 parents d2ebabf + 3d81f35 commit e107f1d

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/release-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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

.github/workflows/release-on-tag.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@ on:
99

1010
jobs:
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 }}

0 commit comments

Comments
 (0)