Skip to content

Commit

Permalink
fix(ci): Cleanup dist/js before creating a new JS package. (#64)
Browse files Browse the repository at this point in the history
Because Projen leaves packages with version 0.0.0 behind.
  • Loading branch information
calavera authored Nov 21, 2024
1 parent 49a7a73 commit bf36eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}
run: errout=$(mktemp); gh release create $(cat dist/releasetag.txt) -R $GITHUB_REPOSITORY -F dist/changelog.md -t $(cat dist/releasetag.txt) --target $GITHUB_REF 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q "Release.tag_name already exists" $errout; then cat $errout; exit $exitcode; fi
- name: Create JS Artifact
run: npx projen package:js
run: rm -rf dist/js && npx projen package:js
- name: Release JS Artifact
env:
NPM_DIST_TAG: latest
Expand Down

0 comments on commit bf36eb6

Please sign in to comment.