From 82f790ecd822c07a2dc2a252ec0a750f2281e3a6 Mon Sep 17 00:00:00 2001 From: Sudo Arash Date: Sun, 15 Sep 2024 17:41:20 +0330 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b634ea8..084faa4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,16 @@ jobs: name: built-app path: dist/ + - name: Create Git Tag + id: tag + run: | + TAG_NAME="v$(date +'%Y%m%d%H%M%S')" + echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV + git tag $TAG_NAME + git push origin $TAG_NAME + - name: Create GitHub Release uses: softprops/action-gh-release@v1 with: files: dist/network_scanner + tag_name: ${{ env.TAG_NAME }}