Skip to content

Commit 7093693

Browse files
authored
Merge pull request #68 from algorandfoundation/build/tag-npm-pkg
build: Tag releases in npm based on release channel
2 parents 9ce9a66 + 81dc15b commit 7093693

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ jobs:
6464
token: ${{ secrets.NPM_TOKEN }}
6565
package: artifacts/algo-ts-testing/package.json
6666
access: 'public'
67+
# Tagging 'main' branch with latest for now, even though it's beta because we don't have a non-beta
68+
tag: ${{ github.ref_name == 'alpha' && 'alpha' || github.ref_name == 'main' && 'latest' || github.ref_name == 'release' && 'latest' || 'pre-release' }}

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)