aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-19 00:16:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-19 00:16:28 -0700
commit1f069cf64ec924688af31950fd70364aa1b984e6 (patch)
tree66a425a743a17dae8580cb0bd98e2d56f6e4a25e
parentc42542428c906947656f3cd821c8d3334e66ffdd (diff)
downloadpandoc-1f069cf64ec924688af31950fd70364aa1b984e6.tar.gz
Nightly improvements.
-rw-r--r--.github/workflows/nightly.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index d97742f30..516aaeb8b 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -55,7 +55,7 @@ jobs:
- name: Build artifacts
shell: cmd
run: |
- for /f "tokens=2,3,4 usebackq delims=:/ " %a in ('%date%') do set OURDATE=%c-%a-%b
+ for /f "tokens=2,3,4 usebackq delims=:/ " %a in ('%date%') do set OURDATE=%%c-%%a-%%b
export SUFFIX=nightly-%OURDATE%
export ARTIFACTS=nightly-windows
mkdir %ARTIFACTS%
@@ -90,7 +90,7 @@ jobs:
export ARTIFACTS=nightly-macos
mkdir -p ${ARTIFACTS}
./stack build pandoc pandoc-citeproc
- for f in $(find .stack-work/install -name 'pandoc-*' -executable -type f); do cp $f ${ARTIFACTS}/; done
+ for f in $(find .stack-work/install -name 'pandoc-*' -perm +400 -type f); do cp $f ${ARTIFACTS}/; done
mv ${ARTIFACTS}/pandoc ${ARTIFACTS}/pandoc-${SUFFIX}
mv ${ARTIFACTS}/pandoc-citeproc ${ARTIFACTS}/pandoc-citeproc-${SUFFIX}
cp COPYRIGHT ${ARTIFACTS}/