Skip to content

Commit

Permalink
v0.9.8, with updated install wrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorbenei committed Apr 25, 2016
1 parent 1fa67db commit 0cdf10e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,5 @@ In short:

## TODO

- Save the `xcodebuild` output to a debug file, so that if there's an issue with `codesigndoc` this output can be attached to an issue
- Log the full command it runs (`xcodebuild .. clean archive ..`), for troubleshooting
- Check if Certificate is revoked
- List files by project, which project used what
- Check if Certificate is revoked
15 changes: 9 additions & 6 deletions _scripts/install_wrap.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash
set -e
set -x

echo " * Creating a temporary directory for codesigndoc ..."
temp_dir="$(mktemp -d -t codesigndoc)"
codesigndoc_bin_path="${temp_dir}/codesigndoc"

cd "$temp_dir"

curl -sfL https://github.com/bitrise-tools/codesigndoc/releases/download/0.9.7/codesigndoc-Darwin-x86_64 > ./codesigndoc
chmod +x ./codesigndoc
./codesigndoc scan
codesigndoc_download_url="https://github.com/bitrise-tools/codesigndoc/releases/download/0.9.8/codesigndoc-Darwin-x86_64"
echo " * Downloading codesigndoc from (${codesigndoc_download_url}) to (${codesigndoc_bin_path}) ..."
curl -sfL "$codesigndoc_download_url > "${codesigndoc_bin_path}"
echo " * Making it executable ..."
chmod +x "${codesigndoc_bin_path}"
echo " * Running codesigndoc scan ..."
${codesigndoc_bin_path} scan
5 changes: 3 additions & 2 deletions _scripts/install_wrap.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ echo " * Creating a temporary directory for codesigndoc ..."
temp_dir="$(mktemp -d -t codesigndoc)"
codesigndoc_bin_path="${temp_dir}/codesigndoc"

echo " * Downloading codesigndoc to: ${codesigndoc_bin_path} ..."
curl -sfL https://github.com/bitrise-tools/codesigndoc/releases/download/{{version}}/codesigndoc-Darwin-x86_64 > "${codesigndoc_bin_path}"
codesigndoc_download_url="https://github.com/bitrise-tools/codesigndoc/releases/download/{{version}}/codesigndoc-Darwin-x86_64"
echo " * Downloading codesigndoc from (${codesigndoc_download_url}) to (${codesigndoc_bin_path}) ..."
curl -sfL "$codesigndoc_download_url > "${codesigndoc_bin_path}"
echo " * Making it executable ..."
chmod +x "${codesigndoc_bin_path}"
echo " * Running codesigndoc scan ..."
Expand Down
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func Run() {
app := cli.NewApp()
app.Name = path.Base(os.Args[0])
app.Usage = "codesigndoc"
app.Version = "0.9.7"
app.Version = "0.9.8"

app.Author = ""
app.Email = ""
Expand Down

0 comments on commit 0cdf10e

Please sign in to comment.