Release 0.3.0

This commit is contained in:
Max Isom 2022-01-05 14:47:02 -06:00
parent 9925298977
commit 49de1ce0bf
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
4 changed files with 15 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"
}, },