From c177f64fdb2db645787bb376df5bbb31995f4421 Mon Sep 17 00:00:00 2001 From: Dylane Bengono Date: Fri, 30 Aug 2024 00:19:01 +0100 Subject: [PATCH] chore: Refactor Snort package creation process and update GitHub Actions workflow --- .github/workflows/package-snort.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package-snort.yml b/.github/workflows/package-snort.yml index 5a2eccb..3bacc8b 100644 --- a/.github/workflows/package-snort.yml +++ b/.github/workflows/package-snort.yml @@ -51,11 +51,15 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: + - name: Define tag + id: define-tag + run: echo "RELEASE_TAG=v1.0.${{ github.run_number }}" >> $GITHUB_ENV + - name: Create a release id: release uses: actions/create-release@v1 with: - tag_name: ${{ github.ref }} + tag_name: ${{ env.RELEASE_TAG }} release_name: Snort 3 Release draft: false prerelease: false