mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 20:09:39 -08:00
fix(android): correct version number trimming
This commit is contained in:
parent
7d5c731d2f
commit
2bfd08ec57
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
|
@ -12,7 +12,8 @@ jobs:
|
|||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
||||
- name: Build
|
||||
run: |
|
||||
VERSION="${${{ github.event.release.name }}:1}"
|
||||
VERSION="${{ github.event.release.name }}"
|
||||
VERSION="${VERSION:1}"
|
||||
echo "Building version ${VERSION}"
|
||||
cd src
|
||||
go build -o dist/posh-android-arm -ldflags="-s -w -X 'github.com/jandedobbeleer/oh-my-posh/src/build.Version=${VERSION}' -X 'github.com/jandedobbeleer/oh-my-posh/src/build.Date=$(date)'"
|
||||
|
|
Loading…
Reference in a new issue