Skip to content

Commit 1568835

Browse files
Merge pull request #29 from qnib/bumpver_update
update package.json with bumpversion
2 parents ccbf2e1 + e654d05 commit 1568835

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ tag = True
66
[bumpversion:file:cmd/boltdb/main.go]
77
search = fmt.Println(`v{current_version}`)
88
replace = fmt.Println(`v{new_version}`)
9+
[bumpversion:file:ui/package.json]
10+
search = "version": "{current_version}"
11+
replace = "version": "{new_version}"

Dockerfile.boltdb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM node:11.4.0 AS ui
2+
RUN npm install -g [email protected]
23
WORKDIR /go/metahub
34
COPY ./ui/package* ./ui/
45
RUN cd ui && npm install

Dockerfile.dynamodb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM node:11.4.0 AS ui
2+
RUN npm install -g [email protected]
23
WORKDIR /go/metahub
34
COPY ./ui/package* ./ui/
45
RUN cd ui && npm install
@@ -23,8 +24,6 @@ EXPOSE 8080
2324

2425
# Go binary serves the ui web content
2526
FROM ubuntu:18.04
26-
RUN apt update \
27-
&& apt install -y docker.io vim net-tools
2827
ENV PORT=80
2928
COPY --from=go /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
3029
COPY --from=ui /go/metahub/static /srv/html/static

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metahub",
3-
"version": "0.1.0",
3+
"version": "0.2.1",
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve",

0 commit comments

Comments
 (0)