Skip to content

Commit

Permalink
macos release build: store architecture in a file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 27, 2023
1 parent a53d08c commit 1f6fa87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions macos/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ARCHITECTURE=$(shell uname -m)

ARCHITECTURE=$(shell cat architecture.txt)
VERSION=$(shell cat version.txt)
BASE=pandoc-$(VERSION)-$(ARCHITECTURE)
DEST=pandoc/usr/local
Expand Down
1 change: 1 addition & 0 deletions macos/make_macos_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ chown -R "$ME:staff" "$ROOT"
sed -e "s/PANDOCVERSION/$VERSION/; s/ARCHITECTURE/$MACHINE/;" macos/distribution.xml.in > "$ARTIFACTS/distribution.xml"
cp macos/Makefile "$ARTIFACTS/"
echo "$VERSION" > "$ARTIFACTS/version.txt"
echo "$MACHINE" > "$ARTIFACTS/architecture.txt"

ls -R $ARTIFACTS
echo "Finished..."

0 comments on commit 1f6fa87

Please sign in to comment.