change ci pipeline

change tag name, release name to date_run-id
This commit is contained in:
Tim Riedl 2021-11-15 03:17:36 +01:00
parent 89a8218854
commit 2fdae05e33
1 changed files with 6 additions and 2 deletions

View File

@ -12,14 +12,18 @@ jobs:
- name: copy repo to runner
uses: actions/checkout@v2
- name: Get current date
id: current-date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: create new zip release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ steps.current-date.outputs.date }}_${{ github.run_id }}
release_name: Release ${{ steps.current-date.outputs.date }}_${{ github.run_id }}
body: Latest master version of gitea-installer
draft: false
prerelease: false