Skip to content

Commit

Permalink
chore: allow same npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Apr 4, 2024
1 parent bf44015 commit a183ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/wasm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func wasmBuild(ctx context.Context, client *dagger.Client, hostDirectory *dagger
Exclude: []string{"./node_modules/"},
}).
WithWorkdir("/src").
WithExec([]string{"npm", "version", tag}) // Update the version
WithExec([]string{"npm", "version", "--allow-same-version", tag}) // Update the version

if os.Getenv("NPM_API_KEY") == "" {
return fmt.Errorf("NPM_API_KEY is not set")
Expand Down

0 comments on commit a183ee1

Please sign in to comment.