fix(packaging): update packaging naming scheme for plugins in unstable deliveries (#5415)
This commit is contained in:
parent
62ca8641f3
commit
08e12b1a77
|
@ -259,6 +259,9 @@ jobs:
|
||||||
} else {
|
} else {
|
||||||
throw new Error('invalid version');
|
throw new Error('invalid version');
|
||||||
}
|
}
|
||||||
|
} else if ('${{ steps.get_stability.outputs.stability }}' === 'unstable') {
|
||||||
|
const currentDate = new Date();
|
||||||
|
version = `${currentDate.getFullYear()}${("0" + (currentDate.getMonth() + 1)).slice(-2)}${String(currentDate.getDate()).padStart(2, '0')}`;
|
||||||
} else {
|
} else {
|
||||||
const currentDate = new Date();
|
const currentDate = new Date();
|
||||||
version = `${currentDate.getFullYear()}${("0" + (currentDate.getMonth() + 1)).slice(-2)}00`;
|
version = `${currentDate.getFullYear()}${("0" + (currentDate.getMonth() + 1)).slice(-2)}00`;
|
||||||
|
|
Loading…
Reference in New Issue