mirror of
https://github.com/danbulant/nekofetch
synced 2026-07-08 04:20:43 +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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Test
|
- name: Get commit hash
|
||||||
run: |
|
run: |
|
||||||
echo $RELEASE_VERSION
|
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||||
echo ${{ env.RELEASE_VERSION }}
|
|
||||||
- name: Build .deb
|
- name: Build .deb
|
||||||
uses: jiro4989/build-deb-action@v2
|
uses: jiro4989/build-deb-action@v2
|
||||||
with:
|
with:
|
||||||
package: nekofetch
|
package: nekofetch
|
||||||
package_root: debpkg
|
package_root: debpkg
|
||||||
maintainer: propr and bbaovanc
|
maintainer: propr and bbaovanc
|
||||||
version: ${{ github.ref }}
|
version: 0.2-${{ steps.vars.outputs.sha_short }}
|
||||||
arch: 'amd64'
|
arch: 'amd64'
|
||||||
desc: 'neofetch with nekos'
|
desc: 'neofetch with nekos'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue