Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hofry authored Dec 16, 2020
1 parent 8d631bb commit 4015fe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const request = require('request');
try {
// if (core.getInput('tag') == 'latest')
//tag = core.getInput('tag');
const tag = 'master';
//const tag = 'master';
// else
//tag = github.context.ref.replace('refs/tags/', '');
tag = github.context.ref.replace('refs/tags/', '');
const jenkinsUrl = core.getInput('jenkinsUrl');
const token = core.getInput('token');
core.debug(`tag: ${tag}`);
Expand Down

0 comments on commit 4015fe3

Please sign in to comment.