diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index a69ba7a..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v*' - -jobs: - release: - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Get Version - id: version - run: echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/v}" - - - name: Release - id: create_release - uses: actions/create-release@v1 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ steps.version.outputs.VERSION }} - release_name: Release ${{ steps.version.outputs.VERSION }} - body: | - $(cat CHANGELOG.md) - - - name: Upload asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./logger.js - asset_name: logger.js - asset_content_type: text/markdown