2 Commits

Author SHA1 Message Date
2c265d79cb chore(release): v0.0.2-alpha.7 2025-07-12 15:56:45 -05:00
c0aa64db63 fix(relrease): maybe finally got it 2025-07-12 15:56:15 -05:00
4 changed files with 20 additions and 6 deletions

View File

@@ -1,10 +1,17 @@
# Changelog
## [0.0.2-alpha.6](https://git.tuffraid.net/cowch/logistics_support_tool/compare/v0.0.2-alpha.5...v0.0.2-alpha.6) (2025-07-12)
## [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
* **release fixes:** more fixes ([6fc69fc](https://git.tuffraid.net/cowch/logistics_support_tool/commit/6fc69fc6bcbda7f978dbd332ef23ef0501653c50))
* **relrease:** maybe finally got it ([c0aa64d](https://git.tuffraid.net/cowch/logistics_support_tool/commit/c0aa64db634cff5a6597215035929f16b0edfca0))
## <small>0.0.2-alpha.5 (2025-07-12)</small>
* chore(release): v0.0.2-alpha.5 ([6779d1c](https://git.tuffraid.net/cowch/logistics_support_tool/commits/6779d1c))
* fix(release): more fixes ([65873bd](https://git.tuffraid.net/cowch/logistics_support_tool/commits/65873bd))
## <small>0.0.2-alpha.4 (2025-07-12)</small>

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "logistics_support_tool",
"version": "0.0.2-alpha.6",
"version": "0.0.2-alpha.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "logistics_support_tool",
"version": "0.0.2-alpha.6",
"version": "0.0.2-alpha.7",
"license": "ISC",
"dependencies": {
"conventional-changelog": "^7.1.1",

View File

@@ -1,6 +1,6 @@
{
"name": "logistics_support_tool",
"version": "0.0.2-alpha.6",
"version": "0.0.2-alpha.7",
"description": "This is the new logisitcs support tool",
"private": true,
"main": "index.js",

View File

@@ -18,10 +18,17 @@ if (!version) {
process.exit(1);
}
// Resolve the directory of the current script
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// Absolute path to BUILD_NUMBER
const buildNumberPath = path.resolve(__dirname, '../BUILD_NUMBER');
// Load build number from BUILD_NUMBER file
let buildNumber = '0';
try {
rawBuild = (await fs.readFile('BUILD_NUMBER', 'utf8')).trim();
rawBuild = (await fs.readFile(buildNumberPath, 'utf8')).trim();
console.log("Raw build" ,rawBuild)
if (rawBuild) {
const [numPart, namePart] = rawBuild.split('-');