Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/remove-beta-dist-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Remove beta dist-tags

on:
workflow_dispatch:

permissions:
contents: read

env:
FORCE_COLOR: 2

jobs:
untag:
name: Remove stale beta dist-tags
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Configure npm authentication
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc

- name: Remove beta dist-tag from @svgforge/svgforge-cli
run: npm dist-tag rm @svgforge/svgforge-cli beta

- name: Remove beta dist-tag from @svgforge/svgforge
continue-on-error: true # The CLI token may not have access to the main package
run: npm dist-tag rm @svgforge/svgforge beta
Loading