From a90d483425c0b065dcba9529fab0ff65e45b142b Mon Sep 17 00:00:00 2001 From: Manjunath Date: Thu, 9 Jan 2025 15:29:16 +0100 Subject: [PATCH] Revert changes done to release action (#5228) --- .github/workflows/release-go.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/.github/workflows/release-go.yml b/.github/workflows/release-go.yml index 94ceba7f2a..e4ab18b585 100644 --- a/.github/workflows/release-go.yml +++ b/.github/workflows/release-go.yml @@ -27,38 +27,6 @@ jobs: cp ./piper_master-darwin.arm64 ./piper-darwin.arm64 npm install semver --quiet echo "PIPER_version=v$(node_modules/.bin/semver -i minor $(curl --silent "https://api.github.com/repos/$GITHUB_REPOSITORY/releases/latest" | jq -r .tag_name))" >> $GITHUB_ENV - echo "ARCHIVE_NAME=jenkins-library-${{ env.PIPER_version }}" >> $GITHUB_ENV - - - name: Prepare files for archiving - run: | - mkdir ${{ github.workspace }}/temp_dir - rsync -av --exclude={README.md,CONTRIBUTING.md,'*.git*','.github/workflows*'} ./ ${{ github.workspace }}/temp_dir/ - - - name: Create custom release ZIP - run: | - cd ${{ github.workspace }}/temp_dir - zip -r ../${{ env.ARCHIVE_NAME }}.zip . - - - name: Create custom release tar.gz - run: | - cd ${{ github.workspace }}/temp_dir - tar -czvf ../${{ env.ARCHIVE_NAME }}.tar.gz . - - - name: Publish custom release ZIP - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ./${{ env.ARCHIVE_NAME }}.zip - asset_name: ${{ env.ARCHIVE_NAME }}.zip - asset_content_type: application/zip - - - name: Publish custom release tar.gz - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ./${{ env.ARCHIVE_NAME }}.tar.gz - asset_name: ${{ env.ARCHIVE_NAME }}.tar.gz - asset_content_type: application/gzip - uses: SAP/project-piper-action@master name: Publish prerelease