Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
ci: remove the auto-update of @latest
Browse files Browse the repository at this point in the history
This is pending npm/feedback#108
  • Loading branch information
thislooksfun committed Apr 12, 2021
1 parent 4e1c497 commit 4a82ca4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

# Temporarily tag any prerelease builds as 'latest'
# TODO: Remove this as we move to release v1.0.0
- if: steps.semrel.outputs.new-release-published == 'true'
run: |
npm config set registry=https://registry.npmjs.org/
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
npm dist-tag add snoots@${{ steps.semrel.outputs.release-version }} latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# Temporarily remove the temporary fix, pending being able to actually
# use it (see https://github.com/npm/feedback/discussions/108).
# # Temporarily tag any prerelease builds as 'latest'
# # TODO: Remove this as we move to release v1.0.0
# - if: steps.semrel.outputs.new-release-published == 'true'
# run: |
# npm config set registry https://registry.npmjs.org/
# npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
# npm dist-tag add snoots@${{ steps.semrel.outputs.release-version }} latest

document:
name: Document new version
Expand Down

0 comments on commit 4a82ca4

Please sign in to comment.