diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2cb3f7d..46640c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,14 +19,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release create latest --notes "latest release" - - name: create versioned release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}" - - name: Upload Release Asset - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload latest dist/ release: needs: setup strategy: @@ -49,3 +41,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release upload ${{ github.run_number }} dist/ + - name: create versioned release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}" + - name: Upload Release Asset + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh release upload latest dist/