spacewander commented on a change in pull request #3521:
URL: https://github.com/apache/apisix/pull/3521#discussion_r571747906



##########
File path: .github/workflows/build.yml
##########
@@ -53,6 +53,30 @@ jobs:
         with:
           submodules: recursive
 
+      - name: Extract branch name
+        id: branch_env
+        shell: bash
+        run: |
+          export VERSION=${GITHUB_REF##*/}
+          echo "##[set-output name=version;]$(echo ${VERSION:1})"
+          echo "##[set-output name=fullname;]$(echo 
apache-apisix-${VERSION:1}-src.tgz)"
+
+      - name: Create tarball
+        # if: ${{ startsWith(github.ref, 'refs/heads/v') && 
!endsWith(matrix.os_name, 'luarocks') }}
+        run: |
+          export VERSION=${{ steps.branch_env.outputs.version }}
+          export RELEASE_SRC=${{ steps.branch_env.outputs.fullname }}
+          make compress-tar
+          # mv release/${RELEASE_SRC} ${RELEASE_SRC}
+          ls
+
+      - name: Remove everything except tarball/.travis/t
+        # if: ${{ startsWith(github.ref, 'refs/heads/v') && 
!endsWith(matrix.os_name, 'luarocks') }}

Review comment:
       We don't need to change the release name. We only need to change the 
branch name.
   
   Will you submit a final commit to `release/test` branch and show us the 
final result after changing this? Thanks!




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to