From 9a48c849989f1308962d245a321f87dd4a74e286 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 18 Nov 2019 18:41:06 +0200 Subject: [PATCH] Fix action --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc5bbfc..e25ff12 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,9 +21,7 @@ jobs: - name: Publish latest if: "!contains(github.ref, '-')" - run: - - npm publish --tag latest --dry-run - - npm dist-tag rm thelounge-theme-solarized next || true + run: npm publish --tag latest --dry-run env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} @@ -32,3 +30,9 @@ jobs: run: npm publish --tag next --dry-run env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} + + - name: Remove next tag + if: "!contains(github.ref, '-')" + run: npm dist-tag rm thelounge-theme-solarized next || true + env: + NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}