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