Skip to content

Commit a79edea

Browse files
committed
added tagging
1 parent 41dfd49 commit a79edea

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,24 @@ jobs:
2525
- name: Install dependencies
2626
run: npm ci
2727

28+
# semantic release
2829
- name: Semantic Release
29-
run: npx semantic-release
30+
uses: codfish/semantic-release-action@master
31+
id: semantic
3032
env:
3133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3234
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3335

34-
- name: If on master, complete versioning
35-
if: github.ref == 'refs/heads/master'
36-
run: sh ./tag_whitelabels.sh
37-
shell: bash
36+
# If on master
37+
- name: Upload to S3 QA
38+
if: |
39+
github.ref == 'refs/heads/master' &&
40+
steps.semantic.outputs.new-release-published == 'true' &&
41+
run: |
42+
git checkout develop
43+
git merge --ff-only master
44+
git push --force --set-upstream origin develop
45+
git tag akronites/${{steps.semantic.outputs.release-version}}
46+
git push origin akronites/${{steps.semantic.outputs.release-version}}
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)