Skip to content

Commit

Permalink
Merge pull request #40 from reecetech/workflow-tweek
Browse files Browse the repository at this point in the history
Update test-and-release.yml
  • Loading branch information
ps-jay authored Oct 11, 2024
2 parents a5d6598 + 9a52af8 commit 36b965a
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Lookup version
id: version-lookup
run: ./version-lookup.sh

- name: Increment version
id: version-increment
run: ./version-increment.sh
env:
current_version: ${{ steps.version-lookup.outputs.CURRENT_VERSION }}
scheme: calver
- name: Get next version
uses: ./
id: version
with:
scheme: 'calver'

- name: Release version
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: ${{ github.ref_name == github.event.repository.default_branch }}
with:
draft: false
Expand Down

0 comments on commit 36b965a

Please sign in to comment.