fix(release fixes): more fixes
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,10 +1,9 @@
|
|||||||
# Changelog
|
## <small>0.0.2-alpha.4 (2025-07-12)</small>
|
||||||
|
|
||||||
## [0.0.2-alpha.5](https://git.tuffraid.net/cowch/logistics_support_tool/compare/v0.0.2-alpha.4...v0.0.2-alpha.5) (2025-07-12)
|
* chore(release): v0.0.2-alpha.4 ([5948c5c](https://git.tuffraid.net/cowch/logistics_support_tool/commits/5948c5c))
|
||||||
|
* fix(package): added changes to the package.json so we see the release stuff ([494ee3f](https://git.tuffraid.net/cowch/logistics_support_tool/commits/494ee3f))
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* **release:** more fixes ([65873bd](https://git.tuffraid.net/cowch/logistics_support_tool/commit/65873bd31f4c4e5cc0a77aa171822cd842353e45))
|
|
||||||
|
|
||||||
## <small>0.0.2-alpha.3 (2025-07-12)</small>
|
## <small>0.0.2-alpha.3 (2025-07-12)</small>
|
||||||
|
|
||||||
@@ -74,3 +73,6 @@
|
|||||||
* feat(starter): intial starter release ([b370cb1](https://git.tuffraid.net/cowch/logistics_support_tool/commits/b370cb1))
|
* feat(starter): intial starter release ([b370cb1](https://git.tuffraid.net/cowch/logistics_support_tool/commits/b370cb1))
|
||||||
* Initial commit ([e4d3fc9](https://git.tuffraid.net/cowch/logistics_support_tool/commits/e4d3fc9))
|
* Initial commit ([e4d3fc9](https://git.tuffraid.net/cowch/logistics_support_tool/commits/e4d3fc9))
|
||||||
* Update README.md ([e081c8f](https://git.tuffraid.net/cowch/logistics_support_tool/commits/e081c8f))
|
* Update README.md ([e081c8f](https://git.tuffraid.net/cowch/logistics_support_tool/commits/e081c8f))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ if (!version) {
|
|||||||
// Load build number from BUILD_NUMBER file
|
// Load build number from BUILD_NUMBER file
|
||||||
let buildNumber = '0';
|
let buildNumber = '0';
|
||||||
try {
|
try {
|
||||||
rawBuild = (await fs.readFile('../BUILD_NUMBER', 'utf8')).trim();
|
rawBuild = (await fs.readFile('BUILD_NUMBER', 'utf8')).trim();
|
||||||
console.log("Raw build" ,rawBuild)
|
console.log("Raw build" ,rawBuild)
|
||||||
if (rawBuild) {
|
if (rawBuild) {
|
||||||
const [numPart, namePart] = rawBuild.split('-');
|
const [numPart, namePart] = rawBuild.split('-');
|
||||||
@@ -73,7 +73,7 @@ const changelog = await fs.readFile('CHANGELOG.md', 'utf8');
|
|||||||
const regex = new RegExp(`## \\[${version}\\][\\s\\S]*?(?=## \\[|$)`, 'm');
|
const regex = new RegExp(`## \\[${version}\\][\\s\\S]*?(?=## \\[|$)`, 'm');
|
||||||
const releaseNotes = changelog.match(regex)?.[0] || changelog;
|
const releaseNotes = changelog.match(regex)?.[0] || changelog;
|
||||||
|
|
||||||
console.log(`Release notes for v${version}:\n`, releaseNotes);
|
console.log(`Release notes for v${version} saved`);
|
||||||
|
|
||||||
// 3) Create Gitea release
|
// 3) Create Gitea release
|
||||||
const createRelease = async () => {
|
const createRelease = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user