fix: Test release

releases/v3
Tycho Bokdam 2019-10-18 11:13:32 +02:00
parent 1f63990fab
commit 37217f530c
No known key found for this signature in database
GPG Key ID: A0FAE77C8CDF33C7
1 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
const core = require('@actions/core') const core = require('@actions/core')
const exec = require('@actions/exec') const exec = require('@actions/exec')
const { GITHUB_REPOSITORY } = process.env const { GITHUB_REPOSITORY, GITHUB_REF } = process.env
module.exports = new (class Git { module.exports = new (class Git {
@ -74,14 +74,10 @@ module.exports = new (class Git {
/** /**
* Push all changes * Push all changes
* *
* @param branch
* @param origin
* @param args
*
* @returns {*} * @returns {*}
*/ */
push = (branch, origin, args = []) => ( push = () => (
this.exec(`push ${args.join(' ')} ${origin} ${branch}`) this.exec(`push ${GITHUB_REF}`)
) )
/** /**