Skip to content

Commit

Permalink
fix post-release
Browse files Browse the repository at this point in the history
  • Loading branch information
lionello committed Jul 2, 2024
1 parent 94b3a30 commit 05045a6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,16 +304,6 @@ jobs:
post-release:
runs-on: ubuntu-latest
needs: go-release

env:
NODE_VERSION: "21"
NPM_REGISTRY_URL: "https://registry.npmjs.org"

defaults:
run:
shell: bash
working-directory: ./pkgs/npm

steps:
- name: Update Windows s.defang.io/defang_win_amd64.zip short link
run: |
Expand Down Expand Up @@ -350,10 +340,12 @@ jobs:
- name: Install node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: ${{ env.NPM_REGISTRY_URL }}
node-version: "20" # same as the version in flake.nix
registry-url: https://registry.npmjs.org

- name: Publish to NPM
shell: bash
working-directory: ./pkgs/npm
run: |
# Get version number without the 'v'
export version_number=`echo "${{ github.ref_name }}" | cut -c2- `
Expand Down

0 comments on commit 05045a6

Please sign in to comment.