Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Dec 21, 2024
1 parent 0e3ff2f commit 96f9430
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ jobs:
if: ${{ ! steps.release.outputs.release_created }}
run: |
# update package version
git_hash=$(git rev-parse --short "$GITHUB_SHA")
NEXT_VERSION=$(echo $(node -p "require('./package.json').version") | awk -F. -v OFS=. '{$NF += 1 ; print}')
BETA_VERSION="${NEXT_VERSION}-${git_hash}"
echo "New beta version for NPM: ${BETA_VERSION}"
npm version ${BETA_VERSION}
pnpm version prerelease --no-commit-hooks --no-git-tag-version
# push changes
git config user.name github-actions
Expand Down

0 comments on commit 96f9430

Please sign in to comment.