From 3247aef044a3290e2b655842e8b72ff258a6e93f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Naveiras?= Date: Wed, 14 Jun 2023 08:20:30 +0100 Subject: [PATCH] github actions: Removed release step I'm going to remove step from this worfklow, as I'm going to add new workflow for release versions using gorelease. --- .github/workflows/build-integration.yml | 29 ------------------------- 1 file changed, 29 deletions(-) diff --git a/.github/workflows/build-integration.yml b/.github/workflows/build-integration.yml index e6eeb350..130f13f6 100644 --- a/.github/workflows/build-integration.yml +++ b/.github/workflows/build-integration.yml @@ -105,32 +105,3 @@ jobs: - name: Show vault manager logs run: kubectl -n theatre-system logs theatre-vault-manager-0 if: failure() - - release: - if: contains('refs/heads/master', github.ref) - runs-on: ubuntu-latest - needs: - - acceptance - steps: - - uses: actions/checkout@v3.5.3 - - uses: actions/setup-go@v4 - with: - go-version: 1.19.3 - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - known_hosts: ${{ secrets.KNOWN_HOSTS_GITHUB_KEY }} - key: ${{ secrets.ROBOT_READONLY_SSH_KEY }} - - name: Release - run: |- - CURRENT_VERSION="v$(cat VERSION)" - if [[ $(git tag -l "${CURRENT_VERSION}") == "${CURRENT_VERSION}" ]]; then - echo "Version ${CURRENT_VERSION} is already released" - exit 0 - fi - curl -L -o /tmp/goreleaser_Linux_x86_64.tar.gz https://github.com/goreleaser/goreleaser/releases/download/v0.133.0/goreleaser_Linux_x86_64.tar.gz - tar zxf /tmp/goreleaser_Linux_x86_64.tar.gz -C /tmp - git log --pretty=oneline --abbrev-commit --no-decorate --no-color "$(git describe --tags --abbrev=0)..HEAD" -- pkg cmd vendor internal > /tmp/release-notes - git tag "${CURRENT_VERSION}" - git push --tags - /tmp/goreleaser --rm-dist --release-notes /tmp/release-notes