mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-23 01:05:30 +01:00
Release 0.3.0
This commit is contained in:
parent
9925298977
commit
49de1ce0bf
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -78,7 +78,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.get-tags.outputs.tag }}
|
tags: ${{ steps.get-tags.outputs.tag }}
|
||||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
|
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.3.0] - 2022-01-05
|
||||||
### Changed
|
### Changed
|
||||||
- Migrated from Sequelize to Prisma. (#456)
|
- Migrated from Sequelize to Prisma. (#456)
|
||||||
- Bumped dependencies
|
- Bumped dependencies
|
||||||
|
@ -25,7 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Added
|
### Added
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|
||||||
[Unreleased]: https://github.com/codetheweb/muse/compare/v0.2.1...HEAD
|
[Unreleased]: https://github.com/codetheweb/muse/compare/v0.3.0...HEAD
|
||||||
|
[0.3.0]: https://github.com/codetheweb/muse/compare/v0.2.1...v0.3.0
|
||||||
[0.2.1]: https://github.com/codetheweb/muse/compare/v0.2.0...v0.2.1
|
[0.2.1]: https://github.com/codetheweb/muse/compare/v0.2.0...v0.2.1
|
||||||
[0.2.0]: https://github.com/codetheweb/muse/releases/tag/v0.2.0
|
[0.2.0]: https://github.com/codetheweb/muse/releases/tag/v0.2.0
|
||||||
[0.1.1]: https://github.com/codetheweb/muse/releases/tag/v0.1.1
|
[0.1.1]: https://github.com/codetheweb/muse/releases/tag/v0.1.1
|
||||||
|
|
10
Dockerfile
10
Dockerfile
|
@ -1,7 +1,9 @@
|
||||||
FROM node:16.13.0-alpine AS base
|
FROM node:16.13.0 AS base
|
||||||
|
|
||||||
# Install ffmpeg and build dependencies
|
# Install ffmpeg
|
||||||
RUN apk add --no-cache ffmpeg python2 make g++
|
RUN apt-get update && \
|
||||||
|
apt-get install -y ffmpeg && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /usr/app
|
WORKDIR /usr/app
|
||||||
|
|
||||||
|
@ -22,7 +24,7 @@ FROM dependencies AS builder
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN yarn build
|
RUN yarn prisma generate && yarn build
|
||||||
|
|
||||||
# Only copy essentials
|
# Only copy essentials
|
||||||
FROM base AS prod
|
FROM base AS prod
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "muse",
|
"name": "muse",
|
||||||
"version": "0.2.1",
|
"version": "0.3.0",
|
||||||
"description": "🎧 a self-hosted Discord music bot that doesn't suck ",
|
"description": "🎧 a self-hosted Discord music bot that doesn't suck ",
|
||||||
"exports": "./dist/src/index.js",
|
"exports": "./dist/src/index.js",
|
||||||
"repository": "git@github.com:codetheweb/muse.git",
|
"repository": "git@github.com:codetheweb/muse.git",
|
||||||
|
@ -26,9 +26,9 @@
|
||||||
"prepack": "npm run clean && npm run build",
|
"prepack": "npm run clean && npm run build",
|
||||||
"start": "npm run env:set-database-url -- node --experimental-json-modules dist/src/scripts/migrate-and-start.js",
|
"start": "npm run env:set-database-url -- node --experimental-json-modules dist/src/scripts/migrate-and-start.js",
|
||||||
"dev": "concurrently nodemon 'tsc --watch'",
|
"dev": "concurrently nodemon 'tsc --watch'",
|
||||||
"migrations:generate": "npm run prisma migrate dev",
|
"migrations:generate": "npm run prisma:with-env migrate dev",
|
||||||
"migrations:run": "npm run prisma migrate deploy",
|
"migrations:run": "npm run prisma:with-env migrate deploy",
|
||||||
"prisma": "npm run env:set-database-url prisma",
|
"prisma:with-env": "npm run env:set-database-url prisma",
|
||||||
"env:set-database-url": "node dist/src/scripts/run-with-database-url.js",
|
"env:set-database-url": "node dist/src/scripts/run-with-database-url.js",
|
||||||
"release": "release-it"
|
"release": "release-it"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue