Skip to content

Commit

Permalink
Merge pull request #37 from vdice/chore/cdn-updates
Browse files Browse the repository at this point in the history
chore(*): update cdn, mixin author
  • Loading branch information
vdice authored Jan 17, 2020
2 parents f599ef3 + b44cef2 commit 6ac46d8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ publish: bin/porter$(FILE_EXT)
az storage blob upload -c porter -n atom.xml -f bin/atom.xml

bin/porter$(FILE_EXT):
curl -fsSLo bin/porter$(FILE_EXT) https://cdn.deislabs.io/porter/canary/porter-$(CLIENT_PLATFORM)-$(CLIENT_ARCH)$(FILE_EXT)
curl -fsSLo bin/porter$(FILE_EXT) https://cdn.porter.sh/canary/porter-$(CLIENT_PLATFORM)-$(CLIENT_ARCH)$(FILE_EXT)
chmod +x bin/porter$(FILE_EXT)

install:
Expand Down
14 changes: 7 additions & 7 deletions build/atom-template.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<id>https://cdn.deislabs.io/porter</id>
<title>DeisLabs Mixins</title>
<id>https://porter.sh</id>
<title>Porter Mixins</title>
<updated>{{Updated}}</updated>
<link rel="self" href="https://cdn.deislabs.io/porter/atom.xml"/>
<link rel="self" href="https://cdn.porter.sh/mixins/atom.xml"/>
<author>
<name>DeisLabs</name>
<uri>https://deislabs.io</uri>
<name>Porter Authors</name>
<uri>https://porter.sh/mixins</uri>
</author>
{{#Mixins}}
<category term="{{.}}"/>
{{/Mixins}}
{{#Entries}}
<entry>
<id>https://cdn.deislabs.io/porter/mixins/{{Mixin}}/{{Version}}</id>
<id>https://cdn.porter.sh/mixins/{{Mixin}}/{{Version}}</id>
<title>{{Mixin}} @ {{Version}}</title>
<updated>{{Updated}}</updated>
<category term="{{Mixin}}"/>
<content>{{Version}}</content>
{{#Files}}
<link rel="download" href="https://cdn.deislabs.io/porter/mixins/{{Mixin}}/{{Version}}/{{File}}" />
<link rel="download" href="https://cdn.porter.sh/mixins/{{Mixin}}/{{Version}}/{{File}}" />
{{/Files}}
</entry>
{{/Entries}}
Expand Down
2 changes: 1 addition & 1 deletion pkg/arm/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func (m *Mixin) PrintVersion(opts version.Options) error {
VersionInfo: mixin.VersionInfo{
Version: pkg.Version,
Commit: pkg.Commit,
Author: "DeisLabs",
Author: "Porter Authors",
},
}
return version.PrintVersion(m.Context, opts, metadata)
Expand Down
4 changes: 2 additions & 2 deletions pkg/arm/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestPrintVersion(t *testing.T) {
m.PrintVersion(opts)

gotOutput := m.TestContext.GetOutput()
wantOutput := "arm v1.2.3 (abc123) by DeisLabs"
wantOutput := "arm v1.2.3 (abc123) by Porter Authors"
if !strings.Contains(gotOutput, wantOutput) {
t.Fatalf("invalid output:\nWANT:\t%q\nGOT:\t%q\n", wantOutput, gotOutput)
}
Expand All @@ -45,7 +45,7 @@ func TestPrintJsonVersion(t *testing.T) {
"name": "arm",
"version": "v1.2.3",
"commit": "abc123",
"author": "DeisLabs"
"author": "Porter Authors"
}
`
if !strings.Contains(gotOutput, wantOutput) {
Expand Down

0 comments on commit 6ac46d8

Please sign in to comment.