5 Commits

Author SHA1 Message Date
Philip Jay
8766e6c6af Merge pull request #4 from reecetech/fixup-for-env
Fix for `env`, fix for README
2021-10-20 13:54:55 +11:00
Phil Jay
8700256121 Fix: composite runs using bash require env 2021-10-20 12:11:22 +11:00
Phil Jay
2fa6f4f0f9 Update to show version 2021-10-20 12:07:00 +11:00
Philip Jay
ef5bc12fc4 Merge pull request #2 from reecetech/fixup-action.yml
Fix metadata syntax in `action.yml` 🛠
2021-10-20 11:40:15 +11:00
Phil Jay
efc89dc7d0 Fix metadata syntax in action.yml 🛠
```
Description must be less than 125 characters.
```
2021-10-20 11:31:17 +11:00
2 changed files with 6 additions and 7 deletions

View File

@@ -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

View File

@@ -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 }}