Skip to content

Commit

Permalink
chore: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwessel committed Feb 23, 2024
1 parent 0c32019 commit 4e5ddf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,19 @@ jobs:
run: |
npm version ${{ inputs.version }} --no-git-tag-version
npm version ${{ inputs.version }} --no-git-tag-version --workspaces
scripts/commitVersion.sh
git config user.name '${{ vars.CI_COMMIT_AUTHOR}}'
git config user.email '[email protected]'
git config push.followTags true
scripts/commitVersion.sh
echo New version:
echo $(node -p -e "require('./package.json').version")
id: bump_version
- name: Add Tag
run: |
git tag ${{ steps.bump_version }}
- name: Dry run publish
run: |
npm publish --access public --dry-run
npm publish --access public --dry-run --workspaces
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
#- name: Commit version
Expand Down
2 changes: 0 additions & 2 deletions scripts/commitVersion.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
NODE_VERSION=$(node -p -e "require('./package.json').version")
echo $NODE_VERSION

git-cliff --tag v$NODE_VERSION > CHANGELOG.md

CONTENT="export const puristaVersion = '$NODE_VERSION'"

for dir in ./packages/*/ # list directories in the form "/tmp/dirname/"
Expand Down

0 comments on commit 4e5ddf1

Please sign in to comment.