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

release in one step leveraging goreleaser #521

Merged
merged 2 commits into from
Jul 29, 2019
Merged

release in one step leveraging goreleaser #521

merged 2 commits into from
Jul 29, 2019

Conversation

hilary
Copy link
Contributor

@hilary hilary commented Jul 26, 2019

see also #516

Removed dockerhub integration, will submit that separately

CODE NOW RELEASES TO PROD TARGETS!

@hilary hilary force-pushed the release-process branch 3 times, most recently from f3369de to 2277222 Compare July 26, 2019 23:50
Makefile Outdated
version:
@echo "==> determining doctl version"
@echo ""
@ORIGIN=$$ORIGIN scripts/version.sh
Copy link
Member

Choose a reason for hiding this comment

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

This syntax didn't work for me during my local testing, I had to use,

        @ORIGIN=${ORIGIN}

And then it all worked great.

Makefile Outdated
_bump_and_tag: _install_sembump
@echo "==> BUMP=${BUMP} bumping and tagging version"
@echo ""
@ORIGIN=$$ORIGIN scripts/bumpversion.sh
Copy link
Member

Choose a reason for hiding this comment

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

Same here, I had to use,

        @ORIGIN=${ORIGIN}

Copy link
Member

@bentranter bentranter left a comment

Choose a reason for hiding this comment

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

I did quite a bit of testing, and I feel like this is good to go, especially considering it'll you or me doing the first few releases so if any issues come up, we'll be capable fo debugging them.

My only feedback is about the Makefile syntax for passing the ORIGIN arg to the scripts, other than, it works great! I was able to push a release to GitHub and Dockerhub and have them both work, and have the correct version strings.

@hilary hilary force-pushed the release-process branch from 9bf08f0 to a1105ba Compare July 29, 2019 19:12
@@ -0,0 +1,9 @@
FROM alpine:3.8

Copy link
Member

Choose a reason for hiding this comment

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

Adding,

RUN apk add --no-cache curl

here fixes the issue with missing certs, from my testing at least.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

really? That's great!

@hilary hilary force-pushed the release-process branch 3 times, most recently from 5919331 to f52a3f5 Compare July 29, 2019 20:22
@hilary hilary force-pushed the release-process branch from bc11529 to 99f337b Compare July 29, 2019 20:42
@hilary hilary changed the title WIP: release in one step leveraging goreleaser release in one step leveraging goreleaser Jul 29, 2019
Copy link
Member

@bentranter bentranter left a comment

Choose a reason for hiding this comment

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

LGTM!

@hilary hilary merged commit de72b02 into master Jul 29, 2019
@hilary hilary deleted the release-process branch July 29, 2019 21:01
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