Skip to content

Commit 93c81d4

Browse files
committed
Stop releasing CLI
1 parent 3607792 commit 93c81d4

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

.github/workflows/go.yml

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -94,30 +94,31 @@ jobs:
9494
# Write-Host "Attempting to run CLI..."
9595
# .\cli-v2.exe install
9696

97-
release:
98-
needs: [test, ittest]
99-
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.event_name == 'push'
100-
runs-on: ubuntu-latest
101-
steps:
102-
- name: Checkout
103-
uses: actions/checkout@v4
104-
with:
105-
fetch-depth: 0
106-
- name: Set up Go
107-
uses: actions/setup-go@v4
108-
- name: "Git Version"
109-
id: generate-version
110-
uses: codacy/[email protected]
111-
- name: "Tag version"
112-
run: |
113-
git tag ${{ steps.generate-version.outputs.version }}
114-
git push --tags "https://codacy:${{ secrets.GITHUB_TOKEN }}@github.com/codacy/codacy-cli-v2"
115-
- name: Run GoReleaser
116-
uses: goreleaser/goreleaser-action@v5
117-
with:
118-
distribution: goreleaser
119-
# 'latest', 'nightly', or a semver
120-
version: "latest"
121-
args: release --clean
122-
env:
123-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
97+
## For now we are not releasing the CLI, as we are making some quicker iterations
98+
# release:
99+
# needs: [test, ittest]
100+
# if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.event_name == 'push'
101+
# runs-on: ubuntu-latest
102+
# steps:
103+
# - name: Checkout
104+
# uses: actions/checkout@v4
105+
# with:
106+
# fetch-depth: 0
107+
# - name: Set up Go
108+
# uses: actions/setup-go@v4
109+
# - name: "Git Version"
110+
# id: generate-version
111+
# uses: codacy/[email protected]
112+
# - name: "Tag version"
113+
# run: |
114+
# git tag ${{ steps.generate-version.outputs.version }}
115+
# git push --tags "https://codacy:${{ secrets.GITHUB_TOKEN }}@github.com/codacy/codacy-cli-v2"
116+
# - name: Run GoReleaser
117+
# uses: goreleaser/goreleaser-action@v5
118+
# with:
119+
# distribution: goreleaser
120+
# # 'latest', 'nightly', or a semver
121+
# version: "latest"
122+
# args: release --clean
123+
# env:
124+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)