From c7ce7fa9c27016aee370dd194e1a8e204cdc4271 Mon Sep 17 00:00:00 2001 From: Connor Reinholdtsen Date: Fri, 14 Jan 2022 00:07:09 -0800 Subject: [PATCH] Add semantic versioning to build automation --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 928099b..4d5f25f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,8 +2,8 @@ name: Build project on: push: - branches: - - main + tags: + - 'v*' jobs: buildForAllSupportedPlatforms: @@ -52,8 +52,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v${{ github.run_number }} - release_name: Simulator v${{ github.run_number }} + tag_name: ${{ github.ref }} + release_name: Husky Robotics Simulator ${{ github.ref }} - name: Download build artifacts uses: actions/download-artifact@v2 - name: Zip build files