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 231213e commit 0976218
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 @@ -4,9 +4,9 @@ const request = require('request');

try {
// if (core.getInput('tag') == 'latest')
// tag = core.getInput('tag');
tag = core.getInput('tag');
// 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');

Expand Down

0 comments on commit 0976218

Please sign in to comment.