mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
fix(android): update version based on bash capabilities
This commit is contained in:
parent
b27608dd73
commit
9b011b45a8
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
|
@ -12,8 +12,7 @@ jobs:
|
|||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
||||
- name: Build
|
||||
run: |
|
||||
VERSION="${{ github.event.release.name }}"
|
||||
VERSION="${VERSION:1}"
|
||||
VERSION=$(echo "${{ github.event.release.name }}" | cut -c2-)
|
||||
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