Skip to content

Commit

Permalink
Merge pull request #4 from geodynamics/baagaard/fix-tarball
Browse files Browse the repository at this point in the history
FIX: Fix tarball creation (and instructions).
  • Loading branch information
baagaard-usgs authored Jun 21, 2022
2 parents 30698e2 + 7a8e7f7 commit 0691e69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion make_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,4 +20,4 @@
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
}

0 comments on commit 0691e69

Please sign in to comment.