Skip to content

Commit 70e16f7

Browse files
authored
chore: Update Go Releaser commands to not use deprecated features (#14520)
<!-- 🎉 Thank you for making CloudQuery awesome by submitting a PR 🎉 --> #### Summary We've been getting warnings from Go Releaser during publish since we use deprecated features: 1. `brews.tap` was renamed to `brews.repository`: https://goreleaser.com/deprecations/#krewsindex 2. `--skip-*` was merged into a single flag: https://goreleaser.com/deprecations/#active-deprecation-notices <!-- Use the following steps to ensure your PR is ready to be reviewed - [ ] Read the [contribution guidelines](../blob/main/CONTRIBUTING.md) 🧑‍🎓 - [ ] Run `make lint` to ensure the proposed changes follow the coding style 🚨 (install golangci-lint [here](https://golangci-lint.run/usage/install/#local-installation)) - [ ] Run `make test` to ensure the proposed changes pass the tests 🧪 - [ ] If changing a source plugin run `make gen` to ensure docs are up to date 📝 - [ ] Ensure the status checks below are successful ✅ --->
1 parent 716f6be commit 70e16f7

64 files changed

Lines changed: 65 additions & 65 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ jobs:
8888
install-only: true
8989
- name: Run GoReleaser Dry-Run
9090
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
91-
run: goreleaser release --snapshot --clean --skip-validate --skip-publish --skip-sign -f ./cli/.goreleaser.yaml
91+
run: goreleaser release --snapshot --clean --skip=validate,publish,sign -f ./cli/.goreleaser.yaml
9292
env:
9393
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_azblob.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ jobs:
8282
install-only: true
8383
- name: Run GoReleaser Dry-Run
8484
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
85-
run: goreleaser release --snapshot --clean --skip-validate --skip-publish --skip-sign -f ./plugins/destination/azblob/.goreleaser.yaml
85+
run: goreleaser release --snapshot --clean --skip=validate,publish,sign -f ./plugins/destination/azblob/.goreleaser.yaml
8686
env:
8787
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_bigquery.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ jobs:
9191
install-only: true
9292
- name: Run GoReleaser Dry-Run
9393
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
94-
run: goreleaser release --snapshot --clean --skip-validate --skip-publish --skip-sign -f ./plugins/destination/bigquery/.goreleaser.yaml
94+
run: goreleaser release --snapshot --clean --skip=validate,publish,sign -f ./plugins/destination/bigquery/.goreleaser.yaml
9595
env:
9696
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_clickhouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ jobs:
103103
install-only: true
104104
- name: Run GoReleaser Dry-Run
105105
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
106-
run: goreleaser release --snapshot --rm-dist --skip-validate --skip-publish --skip-sign -f ./plugins/destination/clickhouse/.goreleaser.yaml
106+
run: goreleaser release --snapshot --rm-dist --skip=validate,publish,sign -f ./plugins/destination/clickhouse/.goreleaser.yaml
107107
env:
108108
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_duckdb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ jobs:
8080
install-only: true
8181
- name: Run GoReleaser Dry-Run
8282
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
83-
run: goreleaser release --snapshot --clean --skip-validate --skip-publish --skip-sign -f ./plugins/destination/duckdb/.goreleaser.yaml
83+
run: goreleaser release --snapshot --clean --skip=validate,publish,sign -f ./plugins/destination/duckdb/.goreleaser.yaml
8484
env:
8585
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_elasticsearch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ jobs:
9090
install-only: true
9191
- name: Run GoReleaser Dry-Run
9292
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
93-
run: goreleaser release --snapshot --rm-dist --skip-validate --skip-publish --skip-sign -f ./plugins/destination/elasticsearch/.goreleaser.yaml
93+
run: goreleaser release --snapshot --rm-dist --skip=validate,publish,sign -f ./plugins/destination/elasticsearch/.goreleaser.yaml
9494
env:
9595
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ jobs:
8080
install-only: true
8181
- name: Run GoReleaser Dry-Run
8282
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
83-
run: goreleaser release --snapshot --clean --skip-validate --skip-publish --skip-sign -f ./plugins/destination/file/.goreleaser.yaml
83+
run: goreleaser release --snapshot --clean --skip=validate,publish,sign -f ./plugins/destination/file/.goreleaser.yaml
8484
env:
8585
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_firehose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ jobs:
8787
install-only: true
8888
- name: Run GoReleaser Dry-Run
8989
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
90-
run: goreleaser release --snapshot --rm-dist --skip-validate --skip-publish --skip-sign -f ./plugins/destination/firehose/.goreleaser.yaml
90+
run: goreleaser release --snapshot --rm-dist --skip=validate,publish,sign -f ./plugins/destination/firehose/.goreleaser.yaml
9191
env:
9292
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_gcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ jobs:
8686
install-only: true
8787
- name: Run GoReleaser Dry-Run
8888
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
89-
run: goreleaser release --snapshot --clean --skip-validate --skip-publish --skip-sign -f ./plugins/destination/gcs/.goreleaser.yaml
89+
run: goreleaser release --snapshot --clean --skip=validate,publish,sign -f ./plugins/destination/gcs/.goreleaser.yaml
9090
env:
9191
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.github/workflows/dest_gremlin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ jobs:
8383
install-only: true
8484
- name: Run GoReleaser Dry-Run
8585
if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push'
86-
run: goreleaser release --snapshot --clean --skip-validate --skip-publish --skip-sign -f ./plugins/destination/gremlin/.goreleaser.yaml
86+
run: goreleaser release --snapshot --clean --skip=validate,publish,sign -f ./plugins/destination/gremlin/.goreleaser.yaml
8787
env:
8888
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 commit comments

Comments
 (0)