Skip to content

Commit d7db0e8

Browse files
cwerthomniClinton Werth
andauthored
update beta tag logic (#297)
Co-authored-by: Clinton Werth <[email protected]>
1 parent 4e9c36f commit d7db0e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ jobs:
128128
- name: publish mage service
129129
run: |
130130
npm config set -- '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
131-
npm publish --access public $(ls -1 ngageoint-mage.service-*.tgz) ${{inputs.is_prerelease && '--tag beta'}} || echo "skipping mage service publish..."
131+
npm publish --access public $(ls -1 ngageoint-mage.service-*.tgz) ${{(inputs.is_prerelease && '--tag beta') || ''}} || echo "skipping mage service publish..."
132132
- name: publish mage web
133133
run: |
134134
npm config set -- '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
135-
npm publish --access public $(ls -1 ngageoint-mage.web-app-*.tgz) ${{inputs.is_prerelease && '--tag beta'}} || echo "skipping mage web app publish..."
135+
npm publish --access public $(ls -1 ngageoint-mage.web-app-*.tgz) ${{(inputs.is_prerelease && '--tag beta') || ''}} || echo "skipping mage web app publish..."
136136
- name: publish mage core
137137
run: |
138138
npm config set -- '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
139-
npm publish --access public $(ls -1 ngageoint-mage.web-core-lib-*.tgz) ${{inputs.is_prerelease && '--tag beta'}} || echo "skipping mage core publish..."
139+
npm publish --access public $(ls -1 ngageoint-mage.web-core-lib-*.tgz) ${{(inputs.is_prerelease && '--tag beta') || ''}} || echo "skipping mage core publish..."

0 commit comments

Comments
 (0)