Automatic releases

Update build.yml
This commit is contained in:
Kroese 2023-04-29 08:18:55 +02:00 committed by GitHub
commit 58631c4019

View file

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