Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
7078c2f9
Commit
7078c2f9
authored
Sep 08, 2014
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some scripts
parent
3006be43
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
scripts/build.sh
scripts/build.sh
+1
-1
website/config.rb
website/config.rb
+2
-2
website/source/downloads.html.erb
website/source/downloads.html.erb
+1
-1
No files found.
scripts/build.sh
View file @
7078c2f9
...
...
@@ -23,7 +23,7 @@ fi
# Determine the arch/os combos we're building for
XC_ARCH
=
${
XC_ARCH
:-
"386 amd64 arm"
}
XC_OS
=
${
XC_OS
:-
linux
darwin windows
freebsd openbsd
}
XC_OS
=
${
XC_OS
:-
linux
darwin windows
}
# Install dependencies
echo
"==> Getting dependencies..."
...
...
website/config.rb
View file @
7078c2f9
...
...
@@ -17,7 +17,7 @@ if !ENV["PACKER_DISABLE_DOWNLOAD_FETCH"]
response
=
http
.
request
(
req
)
response
.
body
.
split
(
"
\n
"
).
each
do
|
line
|
next
if
line
!~
/\/mitchellh\/packer\/(
#{
Regexp
.
quote
(
ENV
[
"PACKER_VERSION"
])
}
.+?)'/
next
if
line
!~
/\/mitchellh\/packer\/
packer_
(
#{
Regexp
.
quote
(
ENV
[
"PACKER_VERSION"
])
}
.+?)'/
filename
=
$1
.
to_s
os
=
filename
.
split
(
"_"
)[
1
]
next
if
os
==
"SHA256SUMS"
...
...
@@ -84,7 +84,7 @@ helpers do
end
def
download_url
(
file
)
"https://dl.bintray.com/mitchellh/packer/
#{
file
}
"
"https://dl.bintray.com/mitchellh/packer/
packer_
#{
file
}
"
end
def
latest_version
...
...
website/source/downloads.html.erb
View file @
7078c2f9
...
...
@@ -17,7 +17,7 @@ page_title: "Downloads"
Below are all available downloads for the latest version of Packer
(
<%=
latest_version
%>
). Please download the proper package for your
operating system and architecture. You can find SHA256 checksums
for packages
<a
href=
"https://dl.bintray.com/mitchellh/packer/
<%=
latest_version
%>
_SHA256SUMS?direct"
>
here
</a>
.
for packages
<a
href=
"https://dl.bintray.com/mitchellh/packer/
packer_
<%=
latest_version
%>
_SHA256SUMS?direct"
>
here
</a>
.
</p>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment