Automatic releases
Update build.yml
This commit is contained in:
commit
58631c4019
1 changed files with 15 additions and 22 deletions
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
@ -8,8 +8,6 @@ on:
|
|||
- '**/*.md'
|
||||
- '.gitignore'
|
||||
- '.dockerignore'
|
||||
env:
|
||||
vers: v${{ secrets.MAJOR }}.${{ secrets.MINOR }}
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
|
@ -73,16 +71,11 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
with:
|
||||
tag: "$vers"
|
||||
title: "$vers"
|
||||
body: "Release $vers"
|
||||
|
||||
bump:
|
||||
needs: release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||
title: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||
body: "Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||
-
|
||||
name: Autoincrement minor version
|
||||
name: Increment minor version
|
||||
run: |
|
||||
echo "NEW_MINOR=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV
|
||||
-
|
||||
|
|
Loading…
Reference in a new issue