Skip to content

Commit 528ecdd

Browse files
Merge pull request #16 from nlindblad/nl-release-0.1.0
Release version 0.1.0
2 parents a58082f + 7b79455 commit 528ecdd

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

Makefile

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
BINARY = confidential
22
GOARCH = amd64
33
DIR = apps/confidential
4+
VERSION = 0.1.0
45

56
.PHONY: linux
67
linux:
7-
cd ${DIR} && GOOS=linux GOARCH=${GOARCH} go build -o ${BINARY}-linux-${GOARCH} . ; \
8+
cd ${DIR} && GOOS=linux GOARCH=${GOARCH} go build -o ${BINARY} . ; \
89

910
.PHONY: darwin
1011
darwin:
11-
cd ${DIR} && GOOS=darwin GOARCH=${GOARCH} go build -o ${BINARY}-darwin-${GOARCH} . ; \
12+
cd ${DIR} && GOOS=darwin GOARCH=${GOARCH} go build -o ${BINARY} . ; \
1213

1314
.PHONY: windows
1415
windows:
15-
cd ${DIR} && GOOS=windows GOARCH=${GOARCH} go build -o ${BINARY}-windows-${GOARCH}.exe . ; \
16+
cd ${DIR} && GOOS=windows GOARCH=${GOARCH} go build -o ${BINARY}.exe . ; \
17+
18+
.PHONY: debian
19+
debian: linux
20+
fpm -s dir -t deb -n $(BINARY) -v $(VERSION) --prefix /usr/local/bin -C ${DIR} ${BINARY}
21+
22+
.PHONY: rpm
23+
rpm: linux
24+
fpm --rpm-os linux -s dir -t rpm -n $(BINARY) -v $(VERSION) --prefix /usr/local/bin -C ${DIR} ${BINARY}
25+
rpm --addsign confidential-${VERSION}-1.x86_64.rpm

apps/confidential/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func main() {
3636
},
3737
}
3838

39-
app.Version = "0.0.0"
39+
app.Version = "0.1.0"
4040
app.Usage = "Export parameters from AWS Systems Manager Parameters as environment variables"
4141

4242
app.Name = "confidential"

0 commit comments

Comments
 (0)