From 7a8e7f7c0e7a96ee78c75a7d51a7f1150bac9378 Mon Sep 17 00:00:00 2001 From: Brad Aagaard Date: Mon, 20 Jun 2022 21:31:13 -0600 Subject: [PATCH] FIX: Fix tarball creation (and instructions). --- make_tarball.sh | 3 ++- package.json | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/make_tarball.sh b/make_tarball.sh index 4f0bc71..5f6f5d8 100755 --- a/make_tarball.sh +++ b/make_tarball.sh @@ -6,10 +6,11 @@ else VERSION="X.X.X" fi +# Verify package.json 'homepage' is https://geodynamics.github.io/. mkdir -p parametersgui rm -fr parametersgui/* npm run build -cp -r public/* parametersgui +cp -r build/* parametersgui tar -zcvf pylith_parameters-${VERSION}.tar.gz parametersgui rm -fr parametersgui diff --git a/package.json b/package.json index 2b63dff..6a294c1 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { "name": "pylith_parameters", - "version": "2.0.0", + "version": "2.0.1", "private": true, "devDependencies": { "gh-pages": "^1.0.0", "react-scripts": "0.8.0" }, - "homepage": "https://geodynamics.github.io/pylith_parameters/", + "#homepage": "https://geodynamics.github.io/pylith_parameters/", + "homepage": "https://geodynamics.github.io/", "dependencies": { "react": "^15.4.1", "react-dom": "^15.4.1", @@ -19,4 +20,4 @@ "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" } -} \ No newline at end of file +}