From 32fd4605c098eff8f2799807c7721f076d80ed21 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sat, 19 Jun 2021 17:49:44 -0700 Subject: [PATCH] update releasr to use packagr github actions. --- .github/workflows/release.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index da2b182..ae75eec 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,12 +32,6 @@ jobs: GOOS: linux GOARCH: amd64 run: | - ls -alt - cat ${GITHUB_EVENT_PATH} - env - git log --all --decorate --oneline --graph - - mkdir -p $PROJECT_PATH cp -a $GITHUB_WORKSPACE/. $PROJECT_PATH/ cd $PROJECT_PATH @@ -56,7 +50,6 @@ jobs: # restore modified dir to GH workspace. cp -arf $PROJECT_PATH/. $GITHUB_WORKSPACE/ - - name: Commit Changes id: commit uses: packagrio/action-releasr-go@master @@ -71,24 +64,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged with: upload_assets: 'packagr-bumpr-linux-amd64' - -# - name: Create Release -# id: create_release -# uses: actions/create-release@v1 -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# with: -# tag_name: ${{ steps.bump_version.outputs.release_version }} -# release_name: Release ${{ steps.bump_version.outputs.release_version }} -# draft: false -# prerelease: false -# - name: Upload Release Asset -# id: upload-release-asset -# uses: actions/upload-release-asset@v1 -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# with: -# upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps -# asset_path: ${{ env.PROJECT_PATH }}/packagr-bumpr-linux-amd64 -# asset_name: packagr-bumpr-linux-amd64 -# asset_content_type: application/octet-stream