diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8eefe7a..b767499 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - shell: bash - run: echo "xmlpaste_version=1.1.1-dev" >> "$GITHUB_ENV" + run: cat Makefile | grep "^VERSION=" | sed -e "s/VERSION/xmlpaste_version/g" >> "$GITHUB_ENV" - if: runner.os == 'macOS' run: make dist && cp -p "dist/xmlpaste-${{ env.xmlpaste_version }}-macos/xmlpaste" .