mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-28 15:21:14 +00:00
Fixing up version and others.
This commit is contained in:
parent
bedc34d027
commit
cfcc987fd3
3 changed files with 5 additions and 4 deletions
2
.babelrc
2
.babelrc
|
@ -15,6 +15,6 @@
|
|||
"plugins": [
|
||||
"@babel/plugin-transform-runtime",
|
||||
["babel-plugin-inferno", { "imports": true }],
|
||||
["@babel/plugin-proposal-class-properties", { "loose": true }]
|
||||
["@babel/plugin-transform-class-properties", { "loose": true }]
|
||||
]
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ ENV npm_config_target_libc=musl
|
|||
|
||||
# Cache deps
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm i --production --prefer-offline
|
||||
RUN pnpm i
|
||||
# Build
|
||||
COPY generate_translations.js \
|
||||
tsconfig.json \
|
||||
|
@ -31,7 +31,8 @@ COPY .git .git
|
|||
# Set UI version
|
||||
RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"
|
||||
|
||||
RUN pnpm i --production --prefer-offline
|
||||
RUN pnpm i
|
||||
RUN pnpm prebuild:prod
|
||||
RUN pnpm build:prod
|
||||
|
||||
RUN rm -rf ./node_modules/import-sort-parser-typescript
|
||||
|
|
|
@ -9,7 +9,7 @@ new_tag="$1"
|
|||
# sudo docker push dessalines/lemmy-ui:$new_tag
|
||||
|
||||
# Upgrade version
|
||||
npm version $new_tag
|
||||
pnpm version $new_tag
|
||||
git push
|
||||
|
||||
git tag $new_tag
|
||||
|
|
Loading…
Reference in a new issue