Skip to content

Commit

Permalink
increment version to 0.5a22
Browse files Browse the repository at this point in the history
  • Loading branch information
sebovzeoueb committed Feb 24, 2025
1 parent 109b08a commit 812b43a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bun_installer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
"build_linux": "bun run build_zip && bun run build_client && bun build ./index.tsx --compile --target=bun-linux-x64 --outfile dist/linux/concierge",
"build_mac": "bun run build_zip && bun run build_client && bun build ./index.tsx --compile --target=bun-darwin-arm64 --outfile dist/mac/concierge"
},
"version": "0.5a21"
"version": "0.5a22"
}
10 changes: 5 additions & 5 deletions bun_installer/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@ while (!version) {
}
packageJson.version = version
await Bun.write("./package.json", JSON.stringify(packageJson, undefined, "\t"))
await $`git add -A`
await $`git commit -m 'increment version to ${version}'`
await $`git push`
let pyPiKey: string | null = null
const handlePyPi = async (packageUrlName: string, packageName: string, tomlData: any) => {
const pyPiJson: any = await fetch(`https://pypi.org/pypi/${packageUrlName}/json`).then(res => res.json())
console.log(JSON.stringify(pyPiJson))
if (pyPiJson.releases[tomlData.version]) {
console.log(tomlData.project.version)
if (pyPiJson.releases[tomlData.project.version]) {
console.log(`Python package ${packageName} already up to date`)
return
}
Expand All @@ -36,3 +33,6 @@ const handlePyPi = async (packageUrlName: string, packageName: string, tomlData:
}
await handlePyPi("concierge-util", "concierge_util", conciergeUtilPyProject)
await handlePyPi("isi-util", "isi_util", isiUtilPyProject)
await $`git add -A`
await $`git commit -m 'increment version to ${version}'`
await $`git push`

0 comments on commit 812b43a

Please sign in to comment.