-
Notifications
You must be signed in to change notification settings - Fork 13
CircleCI Release process #59
Conversation
…sion from file in repo
…sion from file in repo
| VERSION_COMMIT=$(git log -1 --format=format:%H VERSION) | ||
| if [ $VERSION_COMMIT = $LATEST_COMMIT ]; | ||
| then | ||
| VERSION=`cat VERSION` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if VERSION is empty/null/not set abort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented where VERSION is empty. it will error if there is no VERSION file from line 6.
Gemfile.lock
Outdated
| remote: . | ||
| specs: | ||
| fluent-plugin-kubernetes-metrics (1.1.0) | ||
| fluent-plugin-kubernetes-metrics (1.1.1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update the Gemfile.lock if there are no updates in dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes to Gemfile.lock has been removed from this PR
Proposed changes
Circle CI release stage to automatically upload gem to rubygems.org.
For bash scripts to get fluentd HEC plugin version from file in the repo rather than from CircleCI env.
Types of changes
What types of changes does your code introduce?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply.