fix release script & bump version

This commit is contained in:
SrGooglo 2025-02-19 18:43:25 +00:00
parent 58f4b8326e
commit d5510f733d
5 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.25.0@alpha",
"version": "1.26.5@alpha",
"author": "RageStudio",
"license": "ComtyLicense",
"private": true,

View File

@ -1,6 +1,6 @@
{
"name": "@comty/app",
"version": "1.25.0@alpha",
"version": "1.26.4@alpha",
"license": "ComtyLicense",
"main": "electron/main",
"type": "module",
@ -15,7 +15,9 @@
"dependencies": {
"@ant-design/icons": "^5.4.0",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.2",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@ffmpeg/ffmpeg": "^0.12.10",

View File

@ -1,6 +1,6 @@
{
"name": "@comty/server",
"version": "1.26.4@alpha",
"version": "1.26.5@alpha",
"license": "ComtyLicense",
"private": true,
"workspaces": [

View File

@ -1,6 +1,6 @@
{
"name": "@comty/wrapper",
"version": "1.25.0-a",
"version": "1.26.4@alpha",
"license": "MIT",
"scripts": {
"start": "linebridge-boot ./src/index.js"

View File

@ -17,10 +17,13 @@ const bumpVersion = require("./utils/bumpVersion")
// constants & paths
const repo = "ragestudio/comty"
const packedDistFilename = "dist.zip"
const changelogFilename = "changelog.md"
const appSrcPath = path.resolve(process.cwd(), "packages/app/src")
const appDistPath = path.resolve(process.cwd(), "packages/app/dist")
const changelogsPath = path.resolve(process.cwd(), "changelogs")
const packedDistPath = path.resolve(process.cwd(), "dist.zip")
const packedDistPath = path.resolve(process.cwd(), packedDistFilename)
async function main() {
if (!process.env.GITHUB_TOKEN) {
@ -185,11 +188,11 @@ async function main() {
const assets = await uploadAssets(octokit, repo, release, [
{
name: packedDistPath,
name: packedDistFilename,
data: fs.readFileSync(packedDistPath),
},
{
name: "changelog.md",
name: changelogFilename,
data: fs.readFileSync(steps.changelog),
},
])