From bab524412157749ff75da5111955f0cc21d9359a Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 18 Jul 2024 16:37:46 -0500 Subject: [PATCH] version varible action --- .github/workflows/pre-release.yaml | 4 ++-- .github/workflows/rust.yml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index c08f1533..f241f993 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -25,8 +25,8 @@ jobs: id: create_release uses: softprops/action-gh-release@v2 with: - tag_name: ${{ env.version }} - name: Pre-Release ${{ env.version }} + tag_name: $version + name: Pre-Release $version body: "![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.VERSION }}/linutil)" append_body: false files: | diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b5a05d35..3097b5e3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,5 +36,8 @@ jobs: toolchain: stable - name: Build run: cargo build --release --verbose - + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Commit Linutil + if: success() \ No newline at end of file