fix(release): checking the build file failes but not sure why
This commit is contained in:
17
CHANGELOG.md
17
CHANGELOG.md
@@ -1,12 +1,16 @@
|
||||
# Changelog
|
||||
## <small>0.0.2-alpha.7 (2025-07-12)</small>
|
||||
|
||||
## [0.0.2-alpha.8](https://git.tuffraid.net/cowch/logistics_support_tool/compare/v0.0.2-alpha.7...v0.0.2-alpha.8) (2025-07-12)
|
||||
* chore(release): v0.0.2-alpha.7 ([2c265d7](https://git.tuffraid.net/cowch/logistics_support_tool/commits/2c265d7))
|
||||
* fix(relrease): maybe finally got it ([c0aa64d](https://git.tuffraid.net/cowch/logistics_support_tool/commits/c0aa64d))
|
||||
|
||||
## [0.0.2-alpha.7](https://git.tuffraid.net/cowch/logistics_support_tool/compare/v0.0.2-alpha.6...v0.0.2-alpha.7) (2025-07-12)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **relrease:** maybe finally got it ([c0aa64d](https://git.tuffraid.net/cowch/logistics_support_tool/commit/c0aa64db634cff5a6597215035929f16b0edfca0))
|
||||
## <small>0.0.2-alpha.6 (2025-07-12)</small>
|
||||
|
||||
* chore(release): v0.0.2-alpha.6 ([8622408](https://git.tuffraid.net/cowch/logistics_support_tool/commits/8622408))
|
||||
* fix(release fixes): more fixes ([6fc69fc](https://git.tuffraid.net/cowch/logistics_support_tool/commits/6fc69fc))
|
||||
|
||||
|
||||
|
||||
## <small>0.0.2-alpha.5 (2025-07-12)</small>
|
||||
|
||||
@@ -90,3 +94,6 @@
|
||||
* 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))
|
||||
* Update README.md ([e081c8f](https://git.tuffraid.net/cowch/logistics_support_tool/commits/e081c8f))
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ const buildNumberPath = path.resolve(__dirname, "../BUILD_NUMBER");
|
||||
// Load build number from BUILD_NUMBER file
|
||||
let buildNumber = "0";
|
||||
try {
|
||||
rawBuild = (await fs.readFile(buildNumberPath, "utf8")).trim();
|
||||
rawBuild = await fs.readFile(buildNumberPath, "utf8").trim();
|
||||
console.log("Raw build", rawBuild);
|
||||
if (rawBuild) {
|
||||
// const [numPart, namePart] = rawBuild.split("-");
|
||||
@@ -41,7 +41,8 @@ try {
|
||||
// }
|
||||
buildNumber = rawBuild;
|
||||
}
|
||||
} catch {
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.warn("BUILD_NUMBER file not found, defaulting to 0");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user