Change version to use commit hash

This commit is contained in:
BBaoVanC 2020-12-27 18:29:36 -06:00
parent 1a713cf57c
commit 03bb78518e
No known key found for this signature in database
GPG key ID: 18089E4E3CCF1D3A

View file

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