Skip to content

Commit

Permalink
Base tmp dir name on git ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsilverstein committed Feb 28, 2020
1 parent b3612da commit 8ad96b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/release-to-wiki.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

GIT_REPOSITORY_URL="https://${GITHUB_PERSONAL_ACCESS_TOKEN}@github.com/$GITHUB_REPOSITORY.wiki.git"
tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)
tmp_dir="/tmp/${GIT_REF}"
(
cd "$tmp_dir" || exit 1
git init
Expand Down

0 comments on commit 8ad96b3

Please sign in to comment.