Skip to content

Commit a473585

Browse files
committed
feat: added script version insert to pipeline
1 parent a1aaa08 commit a473585

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@ jobs:
5353
- name: Checkout Code
5454
uses: actions/checkout@v5
5555

56+
- name: Set script permissions
57+
run: chmod +x ./scripts/inject-version.sh
58+
59+
- name: Inject version
60+
run: |
61+
VERSION="${{ github.ref_name }}"
62+
VERSION="${VERSION#*-}" # removes everything up to the first dash
63+
./scripts/inject-version.sh "$VERSION"
64+
5665
- name: Archive definitions folder
5766
run: |
5867
zip -r definitions.zip definitions

0 commit comments

Comments
 (0)