Release 0.1.1, remove windows/osx release targets
[clnl] / bin / release.sh
index d399e6eb3a407caf23901f162e2e075ca3b1e97f..a1a6fe63d71beee929430851f7a73a269abb154b 100755 (executable)
@@ -5,23 +5,22 @@
 #  * Change where the README.md points to releases
 #  * Run bin/generatedocs.sh to update wiki
 #  * Create linux release using bin/buildlinuxexech.sh on a linux machine
-#  * Create osx release using bin/buildosxrelease.sh on a mac and upload
-#  * Create windows release using bin/buildwindowsexec.sh on a windows box and upload
 #  * Make a release commit and push up, most likely a rebase of all the commits to make the previous steps work correctly
 #  * Run this script to create the source tarball
-#  * Create release on github (that should create the tag), use v<MAJOR>.<MINOR>.<PATCH> as the versioning scheme
+#  * Create tag, use v<MAJOR>.<MINOR>.<PATCH> as the versioning scheme
 #  * Upload the tar.gz as an extra file
-#  * Set the tag in wiki milestones, update Running wiki page to point to new release
+#  * Set the tag in ChangeLog milestones, update docs
 
 version=$(sbcl --noinform --disable-ldb --lose-on-corruption --end-runtime-options --eval '(format t "~A" (asdf:component-version (asdf:find-system :clnl)))' --eval "(quit)")
 
 echo -n "Building version $version, hit enter to continue"
 read
 
-mkdir clnl_$version
-cp -ap src/main/* clnl_$version/
+mkdir -p clnl_$version/src/main
+cp -ap src/main/* clnl_$version/src/main
+cp -ap *.asd clnl_$version/
 tar zcf clnl_${version}.tar.gz clnl_$version/
 rm -rf clnl_$version
 
-echo "All done, it's in clnl_${version}.tar.gz, you should tag it and push it up to github"
-echo "You should also build on OSX, Windows, and Linux using the various release scripts and push those up too."
+echo "All done, it's in clnl_${version}.tar.gz, you should tag it and release it"
+echo "You should also build on Linux using the various release scripts and push those up too."