Browse Source

change to address review feedback

h1dden-da3m0n 4 years ago
parent
commit
9923ea6151
1 changed files with 1 additions and 15 deletions
  1. 1 15
      .github/workflows/auto-bump_version.yml

+ 1 - 15
.github/workflows/auto-bump_version.yml

@@ -63,27 +63,13 @@ jobs:
     if: ${{ github.event_name == 'workflow_dispatch' }}
     env:
       TAG_BRANCH: ${{ github.event.inputs.TAG_BRANCH }}
+      NEXT_VERSION: ${{ github.event.inputs.NEXT_VERSION }}
     steps:
-      - name: Setup YQ
-        uses: chrisdickinson/setup-yq@latest
-        with:
-          yq-version: v4.9.6
-
       - name: Checkout Repository
         uses: actions/checkout@v2
         with:
           ref: ${{ env.TAG_BRANCH }}
 
-      - name: Setup EnvVars
-        run: |-
-          CURRENT_VERSION=$(yq e '.version' build.yaml)
-          CURRENT_MAJOR_MINOR=${CURRENT_VERSION%.*}
-          CURRENT_PATCH=${CURRENT_VERSION##*.}
-          echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
-          echo "CURRENT_MAJOR_MINOR=${CURRENT_MAJOR_MINOR}" >> $GITHUB_ENV
-          echo "CURRENT_PATCH=${CURRENT_PATCH}" >> $GITHUB_ENV
-          echo "NEXT_VERSION=${{ github.event.inputs.NEXT_VERSION }}" >> $GITHUB_ENV
-
       - name: Run bump_version
         run: ./bump_version ${{ env.NEXT_VERSION }}