thelounge@4.3.0-pre.1 (#116)
* thelounge@4.3.0-pre.1 * use LTS node version
This commit is contained in:
parent
ea0725a734
commit
1fbe96ca2e
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 4.3.0-pre.1 (2021-03-16)
|
||||
- Bump [`thelounge`][1] to [`4.3.0-pre.1`](https://github.com/thelounge/thelounge/releases/tag/v4.3.0-pre.1).
|
||||
- Bump Node version from 12 to 14 (LTS).
|
||||
|
||||
## 4.2.0 (2020-08-20)
|
||||
- Bump [`thelounge`][1] to [`4.2.0`](https://github.com/thelounge/thelounge/releases/tag/v4.2.0).
|
||||
- Add support for ARM (ARM64 + ARMv7) images ([#109](https://github.com/thelounge/thelounge-docker/pull/109)) by [@klausenbusk](https://github.com/klausenbusk)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:12
|
||||
FROM node:lts
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
|
@ -15,6 +15,6 @@ CMD ["thelounge", "start"]
|
|||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
# Install thelounge.
|
||||
ARG THELOUNGE_VERSION=4.2.0
|
||||
ARG THELOUNGE_VERSION=4.3.0-pre.1
|
||||
RUN yarn --non-interactive --frozen-lockfile global add thelounge@${THELOUNGE_VERSION} && \
|
||||
yarn --non-interactive cache clean
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
THELOUNGE_VERSION?=4.2.0
|
||||
THELOUNGE_VERSION?=4.3.0-pre.1
|
||||
ORGANISATION?=thelounge
|
||||
|
||||
all: main alpine
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:12-alpine
|
||||
FROM node:lts-alpine
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
|
@ -15,7 +15,7 @@ CMD ["thelounge", "start"]
|
|||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
# Install thelounge.
|
||||
ARG THELOUNGE_VERSION=4.2.0
|
||||
ARG THELOUNGE_VERSION=4.3.0-pre.1
|
||||
RUN apk --update --no-cache add python build-base && \
|
||||
yarn --non-interactive --frozen-lockfile global add thelounge@${THELOUNGE_VERSION} && \
|
||||
yarn --non-interactive cache clean && \
|
||||
|
|
|
@ -1,13 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
command -v gsed &> /dev/null || {
|
||||
>&2 echo "gsed command missing"
|
||||
exit 1
|
||||
}
|
||||
|
||||
NEW_VERSION="$1"
|
||||
|
||||
if [[ ! $NEW_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
||||
>&2 echo "Provided version (\"$NEW_VERSION\") is not in a valid format."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
replace_regex_in_file() {
|
||||
local REGEX="$1"
|
||||
shift 1
|
||||
local FILES=$@
|
||||
for file in $FILES; do
|
||||
sed -i -E "s/${REGEX}/\1${NEW_VERSION}/" "$file"
|
||||
gsed -i -E "s/${REGEX}/\1${NEW_VERSION}/" "$file"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue