Skip to content

Commit

Permalink
Update test script
Browse files Browse the repository at this point in the history
  • Loading branch information
jocmp committed Dec 23, 2024
1 parent 1642622 commit 9605744
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bump-version-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: bump-version-test
name: bump-version

on:
push:
Expand All @@ -12,8 +12,6 @@ jobs:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.RELEASE_SSH_KEY }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
cache: "yarn"
Expand All @@ -28,4 +26,6 @@ jobs:
git config user.email "[email protected]"
- name: Bump Version
run: |
BUMPVER_NEW_VERSION=v2.2.7 make changelog
bumpver update --patch --allow-dirty
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.RELEASE_SSH_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
cache: "yarn"
Expand All @@ -42,4 +40,5 @@ jobs:
- name: Bump Version
run: |
bumpver update --${{ github.event.inputs.version }} --allow-dirty
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $(CHANGELOG_TMP):
echo -e "### $(BUMPVER_NEW_VERSION) ($$(date '+%b %d, %Y'))\n" >> $(CHANGELOG_TMP)
yarn run --silent changelog-maker --format=markdown >> $(CHANGELOG_TMP)
cat $(CHANGELOG) | sed 1d >> $(CHANGELOG_TMP)
cat $(CHANGELOG_TMP)
cp $(CHANGELOG_TMP) $(CHANGELOG)

$(CHANGELOG): $(CHANGELOG_TMP)

Expand Down

0 comments on commit 9605744

Please sign in to comment.