Skip to content

Commit

Permalink
fix(packaging): update packaging naming scheme for plugins in unstabl…
Browse files Browse the repository at this point in the history
…e deliveries (#5415)
  • Loading branch information
mushroomempires authored Jan 28, 2025
1 parent 62ca864 commit 08e12b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/get-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ jobs:
} else {
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 {
const currentDate = new Date();
version = `${currentDate.getFullYear()}${("0" + (currentDate.getMonth() + 1)).slice(-2)}00`;
Expand Down

0 comments on commit 08e12b1

Please sign in to comment.