mirror of
https://github.com/reecetech/version-increment.git
synced 2026-08-18 11:07:50 +00:00
10
README.md
10
README.md
@@ -10,17 +10,17 @@
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7.0.1
|
||||||
|
|
||||||
- name: Get next version
|
- name: Get next version
|
||||||
uses: reecetech/version-increment@2024.10.1
|
uses: reecetech/version-increment@2026.8.3
|
||||||
id: version
|
id: version
|
||||||
with:
|
with:
|
||||||
scheme: semver
|
scheme: semver
|
||||||
increment: patch
|
increment: patch
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v7.3.0
|
||||||
with:
|
with:
|
||||||
push: false
|
push: false
|
||||||
tags: "example/application:${{ steps.version.outputs.version }}"
|
tags: "example/application:${{ steps.version.outputs.version }}"
|
||||||
@@ -34,7 +34,7 @@ use the API mode:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Get next version
|
- name: Get next version
|
||||||
uses: reecetech/version-increment@2024.10.1
|
uses: reecetech/version-increment@2026.8.4
|
||||||
id: version
|
id: version
|
||||||
with:
|
with:
|
||||||
use_api: true
|
use_api: true
|
||||||
@@ -106,7 +106,7 @@ release branch name as an input. For example:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Get next version
|
- name: Get next version
|
||||||
uses: reecetech/version-increment@2023.10.1
|
uses: reecetech/version-increment@2026.8.4
|
||||||
id: version
|
id: version
|
||||||
with:
|
with:
|
||||||
release_branch: publish
|
release_branch: publish
|
||||||
|
|||||||
Reference in New Issue
Block a user