Skip to content

Commit

Permalink
Merge pull request #9 from ergofriend/fix-bump-version-2
Browse files Browse the repository at this point in the history
fix bump version ci 2
  • Loading branch information
ergofriend authored Oct 4, 2024
2 parents ba800ba + 68c36fc commit 5fd6a53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ jobs:
run: |
pnpm version ${{ github.event.inputs.version }} --no-commit-hooks --no-git-tag-version
echo "VERSION=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT
- id: repository
run: echo "ENV=${GITHUB_REPOSITORY#${GITHUB_REPOSITORY_OWNER}/}" >> $GITHUB_OUTPUT
- id: branch
run: echo "ENV=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
- name: commit
run: |
gh api graphql \
-F $githubRepository=${{ steps.repository.outputs.ENV }} \
-F githubRepository=${{ github.repository }} \
-F branchName=${{ steps.branch.outputs.ENV }} \
-F expectedHeadOid=$(git rev-parse HEAD) \
-F commitMessage=":robot: Bump version to ${{ steps.bump_version.outputs.VERSION }}" \
Expand Down

0 comments on commit 5fd6a53

Please sign in to comment.