mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 22:45:43 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8766e6c6af | ||
|
|
8700256121 | ||
|
|
2fa6f4f0f9 | ||
|
|
ef5bc12fc4 | ||
|
|
efc89dc7d0 |
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Get next version
|
- name: Get next version
|
||||||
uses: reecetech/version-increment
|
uses: reecetech/version-increment@2021.10.3
|
||||||
id: version
|
id: version
|
||||||
with:
|
with:
|
||||||
scheme: semver
|
scheme: semver
|
||||||
|
|||||||
11
action.yml
11
action.yml
@@ -1,11 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: 'Version Increment'
|
name: 'Version Increment'
|
||||||
description: |
|
description: Inspects the git tags to determine the current normal version, and returns the next version number
|
||||||
Inspects the git tags to determine the current normal version, and returns the
|
|
||||||
next version number.
|
|
||||||
|
|
||||||
A normal version will be returned if the branch is the default branch
|
branding:
|
||||||
(usually `main`), otherwise a pre-release version will be returned.
|
icon: plus
|
||||||
|
color: purple
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
scheme:
|
scheme:
|
||||||
@@ -38,5 +37,5 @@ runs:
|
|||||||
- id: version-increment
|
- id: version-increment
|
||||||
run: ${{ github.action_path }}/version-increment.sh
|
run: ${{ github.action_path }}/version-increment.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
with:
|
env:
|
||||||
current_version: ${{ steps.version-lookup.outputs.current-version }}
|
current_version: ${{ steps.version-lookup.outputs.current-version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user