diff --git a/.github/workflows/push_master.yml b/.github/workflows/push_master.yml index 5e306e45..5f04b97e 100644 --- a/.github/workflows/push_master.yml +++ b/.github/workflows/push_master.yml @@ -125,47 +125,47 @@ jobs: IMAGE_NAME: projectprimera/ongeki-score IMAGE_NAME_GITHUB: docker.pkg.github.com/project-primera/ongeki-score/ongeki-score - release: - name: Create Release - runs-on: ubuntu-latest - needs: [skip, dockle, trivy, publish] - steps: - - uses: actions/checkout@v2 - - shell: bash - id: validate - run: | - VERSION='${{github.event.head_commit.message}}' - if [[ $VERSION =~ ([0-9]+\.[0-9]+\.[0-9]+) ]]; then - echo "::set-output name=version::${BASH_REMATCH[1]}" - else - exit 1 - fi - - shell: bash - name: Make tag test. - run: | - git tag ${{steps.validate.outputs.version}} - git tag -d ${{steps.validate.outputs.version}} - - shell: bash - id: changelog - run: | - git fetch --prune --unshallow - yarn install --production=false - description=$(yarn run --silent changelog | sed -e 's/^## .*$//' | sed -e 's/^####/##/') - description="${description//'%'/'%25'}" - description="${description//$'\n'/'%0A'}" - description="${description//$'\r'/'%0D'}" - echo "::set-output name=body::${description}" - env: - GITHUB_AUTH: ${{ secrets.LERNA_CHANGELOG_GITHUB_AUTH }} - - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{steps.validate.outputs.version}} - release_name: Version ${{steps.validate.outputs.version}} - body: ${{steps.changelog.outputs.body}} - draft: false - prerelease: false + # release: + # name: Create Release + # runs-on: ubuntu-latest + # needs: [skip, dockle, trivy, publish] + # steps: + # - uses: actions/checkout@v2 + # - shell: bash + # id: validate + # run: | + # VERSION='${{github.event.head_commit.message}}' + # if [[ $VERSION =~ ([0-9]+\.[0-9]+\.[0-9]+) ]]; then + # echo "::set-output name=version::${BASH_REMATCH[1]}" + # else + # exit 1 + # fi + # - shell: bash + # name: Make tag test. + # run: | + # git tag ${{steps.validate.outputs.version}} + # git tag -d ${{steps.validate.outputs.version}} + # - shell: bash + # id: changelog + # run: | + # git fetch --prune --unshallow + # yarn install --production=false + # description=$(yarn run --silent changelog | sed -e 's/^## .*$//' | sed -e 's/^####/##/') + # description="${description//'%'/'%25'}" + # description="${description//$'\n'/'%0A'}" + # description="${description//$'\r'/'%0D'}" + # echo "::set-output name=body::${description}" + # env: + # GITHUB_AUTH: ${{ secrets.LERNA_CHANGELOG_GITHUB_AUTH }} + # - uses: actions/create-release@v1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # with: + # tag_name: ${{steps.validate.outputs.version}} + # release_name: Version ${{steps.validate.outputs.version}} + # body: ${{steps.changelog.outputs.body}} + # draft: false + # prerelease: false slack: name: Slack Notification