-
Notifications
You must be signed in to change notification settings - Fork 3
Add github-actions #94
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
Conversation
@d-hrs |
@d-hrs |
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.
please change title & description in English.
build.gradle
Outdated
def baseVersion = "0.1.0" | ||
def vd = versionDetails() | ||
if (vd.commitDistance == 0 && vd.lastTag ==~ /^v[0-9]+\.[0-9]+\.[0-9]+(\.[a-zA-Z0-9]+)?/) { | ||
baseVersion |
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 not use baseVersion
baseVersion | |
vd.lastTag.substring(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.
It is a correspondence to link with the release tag.
I got it.
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.
fixed 1c1d6a0
build.gradle
Outdated
description = "Bigquery output for embulk" | ||
|
||
version = { | ||
def baseVersion = "0.1.0" |
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.
remove baseVersion
. use VersionDetails()
only.
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.
I got it.
build.gradle
Outdated
if (vd.commitDistance == 0 && vd.lastTag ==~ /^v[0-9]+\.[0-9]+\.[0-9]+(\.[a-zA-Z0-9]+)?/) { | ||
vd.lastTag.substring(1) | ||
} else { | ||
"${baseVersion}.${vd.gitHash}.pre" |
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.
"${baseVersion}.${vd.gitHash}.pre" | |
"0.0.0.${vd.gitHash}.pre" |
or
"${baseVersion}.${vd.gitHash}.pre" | |
"${vd.lastTag.substring(1)}.${vd.gitHash}.pre" |
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.
I got it.
@d-hrs |
Added github-actions for gem push.
Target thread
Parent pull request