Skip to content

Commit e75fbb3

Browse files
kleonickdesaulniers
authored andcommitted
build: prerelease & title hash
1 parent 7cbccaf commit e75fbb3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
runs-on: "ubuntu-20.04"
77
steps:
88
- uses: "actions/checkout@v2"
9+
- run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-7`" >> $GITHUB_ENV
910
- run: |
1011
sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi build-essential git python3-pip
1112
- run: "pip3 install -U git+https://github.com/TuxSH/firmtool.git"
@@ -16,7 +17,7 @@ jobs:
1617
with:
1718
repo_token: "${{ secrets.GITHUB_TOKEN }}"
1819
automatic_release_tag: "latest"
19-
prerelease: false
20-
title: "Development build"
20+
prerelease: true
21+
title: "Development build ${{ env.SHORT_SHA }}"
2122
files: |
2223
firm_linux_loader.firm

0 commit comments

Comments
 (0)