From b9293a878ff605616d630d86ae0597cef3a5e273 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Mon, 15 Jan 2024 03:43:06 +0000 Subject: [PATCH] Remove unused workflows --- .github/workflows/release-confix.yml | 39 ------------------------ .github/workflows/release-cosmovisor.yml | 39 ------------------------ 2 files changed, 78 deletions(-) delete mode 100644 .github/workflows/release-confix.yml delete mode 100644 .github/workflows/release-cosmovisor.yml diff --git a/.github/workflows/release-confix.yml b/.github/workflows/release-confix.yml deleted file mode 100644 index 2831f1aab1..0000000000 --- a/.github/workflows/release-confix.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Release Confix - -on: - push: - tags: - - "tools/confix/v*.*.*" -permissions: - contents: read - -jobs: - goreleaser: - permissions: - contents: write # for goreleaser/goreleaser-action to create a GitHub release - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - # get 'v*.*.*' part from 'confix/v*.*.*' and save to $GITHUB_ENV - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/confix/}" >> $GITHUB_ENV - # remove the possible pre-existing same tag for cosmos-sdk related tags instead of confix tags - # Because goreleaser enforces semantic versioning and will error on non compliant tags.(https://goreleaser.com/limitations/semver/) - - name: Tag without prefix locally to avoid error in goreleaser - run: |- - git tag -d ${{ env.RELEASE_VERSION }} || echo "No such a tag exists before" - git tag ${{ env.RELEASE_VERSION }} HEAD - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 - with: - # stick to version v0.179.0(https://github.com/cosmos/cosmos-sdk/issues/11125) - version: v0.179.0 - args: release --rm-dist --skip-validate --release-notes ./RELEASE_NOTES.md - workdir: tools/confix - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GORELEASER_CURRENT_TAG: confix/${{ env.RELEASE_VERSION }} diff --git a/.github/workflows/release-cosmovisor.yml b/.github/workflows/release-cosmovisor.yml deleted file mode 100644 index 76c31e08e7..0000000000 --- a/.github/workflows/release-cosmovisor.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Release Cosmovisor - -on: - push: - tags: - - "tools/cosmovisor/v*.*.*" -permissions: - contents: read - -jobs: - goreleaser: - permissions: - contents: write # for goreleaser/goreleaser-action to create a GitHub release - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - # get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/cosmovisor/}" >> $GITHUB_ENV - # remove the possible pre-existing same tag for cosmos-sdk related tags instead of cosmovisor tags - # Because goreleaser enforces semantic versioning and will error on non compliant tags.(https://goreleaser.com/limitations/semver/) - - name: Tag without prefix locally to avoid error in goreleaser - run: |- - git tag -d ${{ env.RELEASE_VERSION }} || echo "No such a tag exists before" - git tag ${{ env.RELEASE_VERSION }} HEAD - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 - with: - # stick to version v0.179.0(https://github.com/cosmos/cosmos-sdk/issues/11125) - version: v0.179.0 - args: release --rm-dist --skip-validate --release-notes ./RELEASE_NOTES.md - workdir: tools/cosmovisor - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GORELEASER_CURRENT_TAG: cosmovisor/${{ env.RELEASE_VERSION }}