diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 33f7f31d..8f2b778b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -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)'"