-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1565b6
commit 9e04426
Showing
2 changed files
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,23 +19,19 @@ jobs: | |
node-version: 18.13.0 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: echo TAGS=[$(node ./scripts/publishPackages)] >> $GITHUB_OUTPUT | ||
- run: TAGS=$(node ./scripts/publishPackages) | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- run: echo "$(TAGS)" | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
author_name: Dataport Geo Bot | ||
author_email: [email protected] | ||
tag: | ||
needs: [ publish ] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
tagname: ${{fromJSON(needs.publish.outputs.matrix)}} | ||
steps: | ||
- run: | | ||
git config user.name "Dataport Geo Bot" | ||
git config user.email "[email protected]" | ||
git tag $matrix.tagname | ||
git push origin $matrix.tagname | ||
for TAG in $(TAGS) | ||
do | ||
git config user.name "Dataport Geo Bot" | ||
git config user.email "[email protected]" | ||
git tag $(TAG) | ||
git push origin $(TAG) | ||
echo "Released and tagged $(TAG)." | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters