From 365ec05954a5f49ee84048225b44853fac7fb118 Mon Sep 17 00:00:00 2001 From: FizzyApple12 Date: Fri, 26 Apr 2024 21:43:04 -0400 Subject: [PATCH] Fucked up the actions #6 --- .github/workflows/deploy-application.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-application.yml b/.github/workflows/deploy-application.yml index 0407878..a62499b 100644 --- a/.github/workflows/deploy-application.yml +++ b/.github/workflows/deploy-application.yml @@ -28,12 +28,15 @@ jobs: - run: cargo build --release working-directory: application + + - run: echo "APP_VERSION=$(cat application/Cargo.toml | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+" | head -n 1)" >> $GITHUB_OUTPUT + id: version - uses: softprops/action-gh-release@v2 with: draft: false prerelease: false make_latest: true - tag_name: im_testing_stuff_pls_ignore + tag_name: ${{ steps.version.outputs.APP_VERSION }} token: ${{ secrets.GH_TOKEN }} files: target/thumbv6m-none-eabi/release/application \ No newline at end of file