diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 571f557..a135927 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,13 +25,13 @@ jobs: - name: Get the version run: echo ::set-env name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) - name: Archive - run: tar cfJ cloudflare-ddns-${{ VERSION }}.tar.xz target/release/cloudflare-ddns + run: tar cfJ cloudflare-ddns-$VERSION.tar.xz target/release/cloudflare-ddns - name: Create release uses: softprops/action-gh-release@v1 with: body: | - cloudflare-ddns release ${{ VERSION }} + cloudflare-ddns release $VERSION files: | - cloudflare-ddns-${{ VERSION }} + cloudflare-ddns-$VERSION env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file