Skip to content

Commit

Permalink
ci: Removing v from the tag (#378)
Browse files Browse the repository at this point in the history
* ci: Removing v from the tag

---------

Co-authored-by: mnoman09 <m.nomanshoaib09@gmail.com>
  • Loading branch information
mnoman09 and NomanShoaib authored Mar 15, 2023
1 parent fe496e1 commit e718e2b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ jobs:
run: echo ::set-output name=WORKSPACE::${GITHUB_WORKSPACE}
- name: set the env
run: |
echo "APP_VERSION=${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
TAG=${{ steps.get_version.outputs.VERSION }}
echo "APP_VERSION=${TAG#v}" >> $GITHUB_ENV
echo "TRAVIS_BUILD_DIR=${{ steps.get_workspace.outputs.WORKSPACE }}" >> $GITHUB_ENV
- name: Upload and publish draft
env:
Expand Down Expand Up @@ -239,7 +240,9 @@ jobs:
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF_NAME}
- name: set the env
run: echo "APP_VERSION=${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
run: |
TAG=${{ steps.get_version.outputs.VERSION }}
echo "APP_VERSION=${TAG#v}" >> $GITHUB_ENV
- name: Upload and publish draft
shell: bash
env:
Expand All @@ -264,4 +267,3 @@ jobs:
if: steps.script.outcome != 'success'
run: |
SLACK_TEXT="${APP_VERSION} ${{ matrix.os_name }} assets failed verification." send_to_slack.sh

0 comments on commit e718e2b

Please sign in to comment.