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 dirty state #20

Merged
merged 4 commits into from
Feb 20, 2019
Merged

Fix dirty state #20

merged 4 commits into from
Feb 20, 2019

Conversation

goldeneggg
Copy link
Owner

I'd like to fix error of goreleaser on travis ci when pushed new tag.

Deploying application
   • releasing using goreleaser 0.101.0...
   • loading config file       file=.goreleaser.yml
   • RUNNING BEFORE HOOKS
      • running go mod download
   • GETTING AND VALIDATING GIT STATE
      • releasing v0.8.1, commit 0e8cdf3f93f52c044db367dbed91a6dc204b93be
   ⨯ release failed after 0.06s error=git is currently in a dirty state:
 M README.md
 M go.mod
 M go.sum

@@ -3,7 +3,10 @@
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
# Note: comment out because executed by travis ci "install" task
# - go mod download
Copy link
Owner Author

Choose a reason for hiding this comment

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

I think if go mod download is exected here then some git differences are generated.(e.g. go.mod, go.sum, README.md)

@goldeneggg goldeneggg merged commit 539fafb into master Feb 20, 2019
@goldeneggg goldeneggg deleted the fix_dirty_state branch February 20, 2019 04:20
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.

None yet

1 participant