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",
|
"author": "RageStudio",
|
||||||
"license": "ComtyLicense",
|
"license": "ComtyLicense",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@comty/app",
|
"name": "@comty/app",
|
||||||
"version": "1.25.0@alpha",
|
"version": "1.26.4@alpha",
|
||||||
"license": "ComtyLicense",
|
"license": "ComtyLicense",
|
||||||
"main": "electron/main",
|
"main": "electron/main",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@ -15,7 +15,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons": "^5.4.0",
|
"@ant-design/icons": "^5.4.0",
|
||||||
"@dnd-kit/core": "^6.0.8",
|
"@dnd-kit/core": "^6.0.8",
|
||||||
|
"@dnd-kit/modifiers": "^9.0.0",
|
||||||
"@dnd-kit/sortable": "^7.0.2",
|
"@dnd-kit/sortable": "^7.0.2",
|
||||||
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
"@emotion/react": "^11.13.0",
|
"@emotion/react": "^11.13.0",
|
||||||
"@emotion/styled": "^11.13.0",
|
"@emotion/styled": "^11.13.0",
|
||||||
"@ffmpeg/ffmpeg": "^0.12.10",
|
"@ffmpeg/ffmpeg": "^0.12.10",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@comty/server",
|
"name": "@comty/server",
|
||||||
"version": "1.26.4@alpha",
|
"version": "1.26.5@alpha",
|
||||||
"license": "ComtyLicense",
|
"license": "ComtyLicense",
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@comty/wrapper",
|
"name": "@comty/wrapper",
|
||||||
"version": "1.25.0-a",
|
"version": "1.26.4@alpha",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "linebridge-boot ./src/index.js"
|
"start": "linebridge-boot ./src/index.js"
|
||||||
|
@ -17,10 +17,13 @@ const bumpVersion = require("./utils/bumpVersion")
|
|||||||
|
|
||||||
// constants & paths
|
// constants & paths
|
||||||
const repo = "ragestudio/comty"
|
const repo = "ragestudio/comty"
|
||||||
|
const packedDistFilename = "dist.zip"
|
||||||
|
const changelogFilename = "changelog.md"
|
||||||
|
|
||||||
const appSrcPath = path.resolve(process.cwd(), "packages/app/src")
|
const appSrcPath = path.resolve(process.cwd(), "packages/app/src")
|
||||||
const appDistPath = path.resolve(process.cwd(), "packages/app/dist")
|
const appDistPath = path.resolve(process.cwd(), "packages/app/dist")
|
||||||
const changelogsPath = path.resolve(process.cwd(), "changelogs")
|
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() {
|
async function main() {
|
||||||
if (!process.env.GITHUB_TOKEN) {
|
if (!process.env.GITHUB_TOKEN) {
|
||||||
@ -185,11 +188,11 @@ async function main() {
|
|||||||
|
|
||||||
const assets = await uploadAssets(octokit, repo, release, [
|
const assets = await uploadAssets(octokit, repo, release, [
|
||||||
{
|
{
|
||||||
name: packedDistPath,
|
name: packedDistFilename,
|
||||||
data: fs.readFileSync(packedDistPath),
|
data: fs.readFileSync(packedDistPath),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "changelog.md",
|
name: changelogFilename,
|
||||||
data: fs.readFileSync(steps.changelog),
|
data: fs.readFileSync(steps.changelog),
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user