Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from goreleaser/arch
fix: arch map for debian/rpm packages
- Loading branch information
Showing
9 changed files
with
147 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "foo" | ||
arch: "386" | ||
platform: "linux" | ||
version: "v1.2.3" | ||
maintainer: "Foo Bar" | ||
depends: | ||
- bash | ||
provides: | ||
- fake | ||
replaces: | ||
- foo | ||
suggests: | ||
- zsh | ||
description: | | ||
Foo bar | ||
Multiple lines | ||
vendor: "foobar" | ||
homepage: "https://foobar.org" | ||
license: "MIT" | ||
files: | ||
../testdata/fake: "/usr/local/bin/fake" | ||
config_files: | ||
../testdata/whatever.conf: "/etc/foo/whatever.conf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM i386/ubuntu | ||
ARG package | ||
COPY ${package} /tmp/foo.deb | ||
RUN dpkg -i /tmp/foo.deb && \ | ||
test -e /usr/local/bin/fake && \ | ||
test -f /etc/foo/whatever.conf && \ | ||
echo wat >> /etc/foo/whatever.conf && \ | ||
dpkg -r foo && \ | ||
test -f /etc/foo/whatever.conf && \ | ||
test ! -f /usr/local/bin/fake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM i386/centos:6 | ||
ARG package | ||
COPY ${package} /tmp/foo.rpm | ||
RUN rpm -ivh /tmp/foo.rpm && \ | ||
test -e /usr/local/bin/fake && \ | ||
test -f /etc/foo/whatever.conf && \ | ||
echo wat >> /etc/foo/whatever.conf && \ | ||
rpm -e foo && \ | ||
test -f /etc/foo/whatever.conf.rpmsave && \ | ||
test ! -f /usr/local/bin/fake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "foo" | ||
arch: "386" | ||
platform: "linux" | ||
version: "v1.2.3" | ||
maintainer: "Foo Bar" | ||
description: | | ||
Foo bar | ||
Multiple lines | ||
vendor: "foobar" | ||
homepage: "https://foobar.org" | ||
license: "MIT" | ||
files: | ||
../testdata/fake: "/usr/local/bin/fake" | ||
config_files: | ||
../testdata/whatever.conf: "/etc/foo/whatever.conf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters