mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
Merge pull request #40 from reecetech/workflow-tweek
Update test-and-release.yml
This commit is contained in:
17
.github/workflows/test-and-release.yml
vendored
17
.github/workflows/test-and-release.yml
vendored
@@ -139,19 +139,14 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Lookup version
|
- name: Get next version
|
||||||
id: version-lookup
|
uses: ./
|
||||||
run: ./version-lookup.sh
|
id: version
|
||||||
|
with:
|
||||||
- name: Increment version
|
scheme: 'calver'
|
||||||
id: version-increment
|
|
||||||
run: ./version-increment.sh
|
|
||||||
env:
|
|
||||||
current_version: ${{ steps.version-lookup.outputs.CURRENT_VERSION }}
|
|
||||||
scheme: calver
|
|
||||||
|
|
||||||
- name: Release version
|
- name: Release version
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||||
with:
|
with:
|
||||||
draft: false
|
draft: false
|
||||||
|
|||||||
Reference in New Issue
Block a user