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



##########
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

Review comment:
       That would be better, thx!

##########
File path: Makefile
##########
@@ -221,25 +221,7 @@ endif
        .travis/openwhisk-utilities/scancode/scanCode.py --config 
.travis/ASF-Release.cfg ./
 
 release-src:

Review comment:
       Thanks! Fixed




----------------------------------------------------------------
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