From 31955c463cf8bd98a2207231d0390160cc5ea083 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Tue, 26 Nov 2019 22:42:07 +0200 Subject: [PATCH] Simplify release workflow --- .github/workflows/release.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0407dbb..127bbfb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,20 +21,7 @@ jobs: - name: Install run: yarn --frozen-lockfile --non-interactive - - name: Publish latest - if: "!contains(github.ref, '-')" - run: npm publish --tag latest - env: - NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - - - name: Publish next - if: contains(github.ref, '-') - run: npm publish --tag next - 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 + - name: Publish + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}