Skip to content

Commit 209dcd9

Browse files
author
Akash Satheesan
committed
chore(ci): update nfpm to v2.3.1
1 parent c2b4fc0 commit 209dcd9

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139

140140
- name: Install nfpm
141141
run: |
142-
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin
142+
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin v2.3.1
143143
echo "$HOME/.local/bin" >> $GITHUB_PATH
144144
145145
- name: Download npm package

ci/build/nfpm.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ description: |
1010
vendor: "Coder"
1111
homepage: "https://github.com/cdr/code-server"
1212
license: "MIT"
13-
files:
14-
./ci/build/code-server-nfpm.sh: /usr/bin/code-server
15-
./ci/build/[email protected]: /usr/lib/systemd/system/[email protected]
16-
# Only included for backwards compat with previous releases that shipped
17-
# the user service. See #1997
18-
./ci/build/code-server-user.service: /usr/lib/systemd/user/code-server.service
19-
./release-standalone/**/*: "/usr/lib/code-server/"
13+
14+
contents:
15+
- src: ./ci/build/code-server-nfpm.sh
16+
dst: /usr/bin/code-server
17+
18+
- src: ./ci/build/[email protected]
19+
dst: /usr/lib/systemd/system/[email protected]
20+
21+
- src: ./ci/build/code-server-user.service
22+
dst: /usr/lib/systemd/user/code-server.service
23+
24+
- src: ./release-standalone/**/*
25+
dst: /usr/lib/code-server/

ci/images/centos7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
2626

2727
# Install Go dependencies
2828
ENV GO111MODULE=on
29-
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v1.9.0
29+
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v2.3.1
3030

3131
RUN curl -fsSL https://get.docker.com | sh

ci/images/debian10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
3939

4040
# Install Go dependencies
4141
ENV GO111MODULE=on
42-
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v1.9.0
42+
RUN go get github.com/goreleaser/nfpm/cmd/nfpm@v2.3.1
4343

4444
RUN VERSION="$(curl -fsSL https://storage.googleapis.com/kubernetes-release/release/stable.txt)" && \
4545
curl -fsSL "https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl" > /usr/local/bin/kubectl \

0 commit comments

Comments
 (0)