Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix goreleaser deprecations #385

Merged
merged 8 commits into from
Oct 2, 2023

Conversation

catdevman
Copy link
Contributor

Closes Issue 378

@@ -47,11 +47,11 @@ jobs:
uses: google-github-actions/setup-gcloud@v0
- name: Release notes
run: |
go run ./cmd/release-notes/main.go -version "${GITHUB_REF_NAME}" > ${{ runner.temp }}/releasenotes
go run ./cmd/release-notes/main.go -version "${GITHUB_REF_NAME}" -owner "${GITHUB_ACTOR}" > ${{ runner.temp }}/releasenotes
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sourishkrout I added a new secret... I can revert this but it was basically the only way I could get pass this so it makes the gorelease more flexible for sure.

- name: Copy to latest
if: env.pre_release == 'false'
run: gsutil -m cp "gs://runme-artifacts-41eac6/${{ env.version }}/*" gs://runme-artifacts-41eac6/latest
run: gsutil -m cp "gs://${{ secrets.GS_BUCKET }}/${{ env.version }}/*" gs://${{ secrets.GS_BUCKET }}/latest
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sourishkrout same deal here added a new secret to allow me to be able to run the workflow from my own repo

@catdevman
Copy link
Contributor Author

Before I changed the replacements

image

After removing replacements and using the templating
image

@sourishkrout
Copy link
Member

Thanks for the contribution @catdevman. This looks great! @duvanmonsa can you please take a stab at a review?

@pastuxso pastuxso changed the base branch from main to feat/go-releaser-upgrade October 2, 2023 21:00
@pastuxso pastuxso changed the base branch from feat/go-releaser-upgrade to main October 2, 2023 21:02
Copy link
Contributor

@duvanmonsa duvanmonsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@duvanmonsa duvanmonsa merged commit a09bc42 into stateful:main Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Work thru goreleaser deprecation warnings
4 participants