mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-30 09:05:23 +02:00
update workflow
This commit is contained in:
parent
08b840d702
commit
01759c7ed4
9
.github/workflows/build-packages.yml
vendored
9
.github/workflows/build-packages.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
jobs:
|
||||
publish:
|
||||
main:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -21,11 +21,10 @@ jobs:
|
||||
echo "VERSION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.version')" >> $GITHUB_ENV
|
||||
echo "REVISION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.buildVersion')" >> $GITHUB_ENV
|
||||
- name: GitHub Release
|
||||
id: release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: ${{env.TITLE}} ${{env.VERSION}}-${{env.REVISION}}
|
||||
name: ${{env.TITLE}} ${{env.VERSION}}
|
||||
prerelease: ${{env.PRERELEASE}}
|
||||
body_path: ${{github.workspace}}/CHANGELOG.md
|
||||
files: |
|
||||
@ -38,6 +37,4 @@ jobs:
|
||||
run: update-repositories ${{github.workspace}}
|
||||
- name: Publish Repository
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: publish-repo
|
||||
|
||||
|
||||
run: publish-repo
|
Loading…
x
Reference in New Issue
Block a user