parent
e56a8dc0ce
commit
c9d4024531
|
@ -97,7 +97,7 @@ module.exports = new (class Git {
|
|||
* @return {Promise<>}
|
||||
*/
|
||||
pull = () => (
|
||||
this.exec(`pull ${core.getInput('git-pull-method')}`)
|
||||
this.exec(`pull --unshallow ${core.getInput('git-pull-method')}`)
|
||||
)
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,7 @@ module.exports = new (class Git extends BaseVersioning {
|
|||
gitSemverTags({
|
||||
tagPrefix,
|
||||
}, (err, tags) => {
|
||||
const currentVersion = tags.length > 0 ? tags.shift().replace(tagPrefix, '') : '0.1.0'
|
||||
const currentVersion = tags.shift().replace(tagPrefix, '')
|
||||
|
||||
// Get the new version
|
||||
this.newVersion = bumpVersion(
|
||||
|
|
Loading…
Reference in New Issue