mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix release script & bump version
This commit is contained in:
parent
58f4b8326e
commit
d5510f733d
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.25.0@alpha",
|
||||
"version": "1.26.5@alpha",
|
||||
"author": "RageStudio",
|
||||
"license": "ComtyLicense",
|
||||
"private": true,
|
||||
|
@ -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",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@comty/server",
|
||||
"version": "1.26.4@alpha",
|
||||
"version": "1.26.5@alpha",
|
||||
"license": "ComtyLicense",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
|
@ -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"
|
||||
|
@ -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),
|
||||
},
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user