From a2a966e13f29ca3b1ab0edec8b2871a78d3fbf39 Mon Sep 17 00:00:00 2001 From: Rudransh Joshi Date: Thu, 7 Jul 2022 12:46:42 +0530 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 986ea1f..f51a3c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,14 +9,19 @@ jobs: name: Create Release runs-on: [ubuntu-latest] steps: + - name: Generate build number + id: buildnumber + uses: einaregilsson/build-number@v3 + with: + token: ${{secrets.github_token}} - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: ${{ steps.buildnumber.outputs.build_number }} + release_name: Release ${{ steps.buildnumber.outputs.build_number }} draft: false prerelease: false - name: Output Release URL File