mirror of
https://github.com/danbulant/nekofetch
synced 2026-06-21 15:41:57 +00:00
Change version to use commit hash
This commit is contained in:
parent
1a713cf57c
commit
03bb78518e
1 changed files with 3 additions and 4 deletions
7
.github/workflows/deb-build.yml
vendored
7
.github/workflows/deb-build.yml
vendored
|
|
@ -12,16 +12,15 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Test
|
||||
- name: Get commit hash
|
||||
run: |
|
||||
echo $RELEASE_VERSION
|
||||
echo ${{ env.RELEASE_VERSION }}
|
||||
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||
- name: Build .deb
|
||||
uses: jiro4989/build-deb-action@v2
|
||||
with:
|
||||
package: nekofetch
|
||||
package_root: debpkg
|
||||
maintainer: propr and bbaovanc
|
||||
version: ${{ github.ref }}
|
||||
version: 0.2-${{ steps.vars.outputs.sha_short }}
|
||||
arch: 'amd64'
|
||||
desc: 'neofetch with nekos'
|
||||
|
|
|
|||
Loading…
Reference in a new issue