Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

release ship even if the go.mod/go.sum files have changed #1108

Merged
merged 3 commits into from
Mar 16, 2020

Conversation

laverya
Copy link
Member

@laverya laverya commented Mar 16, 2020

What I Did

Fixed the issue that prevented tag v0.53.0 from releasing, by ignoring it

How I Did it

How to verify it

Description for the Changelog

Picture of a Ship (not required but encouraged)

USCGC Charles Sexton (WPC-1108)

@laverya laverya requested a review from emosbaugh March 16, 2020 16:07
@@ -602,6 +602,11 @@ jobs:
- run: docker pull alpine:latest # make sure it's fresh
- deploy:
command: |
git diff go.mod
git update-index --assume-unchanged go.mod
Copy link
Member

Choose a reason for hiding this comment

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

why does this need to be in the ci? seems like a potential security issue

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll update this with a 'run git diff before release' version (instead of ignoring those changes)

@@ -602,6 +602,8 @@ jobs:
- run: docker pull alpine:latest # make sure it's fresh
- deploy:
command: |
git diff
Copy link
Member

Choose a reason for hiding this comment

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

what is the reason for this?

Copy link
Member Author

Choose a reason for hiding this comment

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

so that we can tell why the release failed
if it fails due to "there's a change somewhere in your git repo" like last time

@laverya laverya merged commit 752f722 into replicatedhq:master Mar 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants