mirror of
https://github.com/werf/actions.git
synced 2026-02-05 02:46:23 +03:00
Embed the MAJOR.MINOR version and remove the group input
This commit is contained in:
@@ -43794,9 +43794,9 @@ const tmp = __importStar(__webpack_require__(801));
|
||||
const dotenv = __importStar(__webpack_require__(972));
|
||||
const WERF_API_GET_CHANNEL_VERSION_URL_METHOD = 'https://werf.io/api/getChannelVersionURL';
|
||||
const WERF_API_GET_VERSION_URL_METHOD = 'https://werf.io/api/getVersionURL';
|
||||
const MAJOR_MINOR_GROUP = '1.1';
|
||||
class Manager {
|
||||
constructor() {
|
||||
this.group = core.getInput('group').trim();
|
||||
this.channel = core.getInput('channel').trim();
|
||||
this.version = core.getInput('version').trim();
|
||||
if (process.platform.toString() === 'win32') {
|
||||
@@ -43878,7 +43878,7 @@ class Manager {
|
||||
else {
|
||||
url = WERF_API_GET_CHANNEL_VERSION_URL_METHOD;
|
||||
query = {
|
||||
group: this.group,
|
||||
group: MAJOR_MINOR_GROUP,
|
||||
channel: this.channel,
|
||||
os: this.os,
|
||||
arch: this.arch
|
||||
|
||||
Reference in New Issue
Block a user