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

HCE-556 Implement Auto Releaser #128

Merged
merged 12 commits into from
Nov 9, 2022
Merged

Conversation

itsjaspermilan
Copy link
Contributor

@itsjaspermilan itsjaspermilan commented Oct 21, 2022

🛠️ Description

This PR aims to set up auto release functionality for the HCP SDK Go.

What Changed

  • Add new GitHub Action Workflow that will run every Wednesday
  • The new Workflow will run tests, check if anything changed since the last release, create a new tag, compile the changelog, and push a new release
  • No longer rely on Circle CI to run tests
  • Create new way to manage changelogs using the go-changelog package

Copy link
Contributor

@bcmdarroch bcmdarroch left a comment

Choose a reason for hiding this comment

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

🎉

.github/workflows/changelog-check.yml Show resolved Hide resolved
.github/workflows/create-release.yml Show resolved Hide resolved
.github/workflows/create-release.yml Show resolved Hide resolved
@itsjaspermilan itsjaspermilan marked this pull request as ready for review November 9, 2022 16:18
@itsjaspermilan itsjaspermilan requested a review from a team November 9, 2022 16:18
Copy link
Contributor

@bcmdarroch bcmdarroch left a comment

Choose a reason for hiding this comment

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

:shipit:

@itsjaspermilan itsjaspermilan merged commit 8eb6400 into main Nov 9, 2022
@itsjaspermilan itsjaspermilan deleted the hce-556-automate-release branch November 9, 2022 21:23
run: |
go install github.com/hashicorp/go-changelog/cmd/changelog-build@6ec9be372335f39c5df27e232c3669db7f5183a5
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! Did version 1.49.0 fix the linting concerns you mentioned?

~~~

Where `TYPE` is the type of release note entry this is. This is one of either: `breaking-change`, `security`, `feature`, `improvement`, `deprecation`, `bug`.

Copy link
Contributor

Choose a reason for hiding this comment

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

✨ I love the thoroughness of explanation here on release-note types. The only potential knitpick I could suggest is maybe updating the default PR template to remind creating a changelog entry addition and listing as well the TYPE for releases. LGTM! 😎

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.

3 participants