Skip to content

Commit 55fb6bc

Browse files
committed
Now also releasing on GitHub
1 parent 45e76a3 commit 55fb6bc

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

Makefile.dev

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,15 @@ tarball: doc/DONT-RELEASE Makefile.dev
375375
$(MAKE) clean
376376
cd .. ; COPYFILE_DISABLE=true tar cvzhf metis/release/metis.tar.gz --exclude-from metis/doc/DONT-RELEASE metis
377377

378+
.PHONY: release-instructions
379+
release-instructions:
380+
@echo "Completed release, now do the following:"
381+
@echo "1. git add and commit all changes"
382+
@perl -ne 'if ($$_ =~ /^Metis ([0-9.]+) \(release ([0-9]+)\),$$/) { print "2. git tag -a -s v$$1.$$2 -m \"Version $$1 (release $$2)\"\n"; }' doc/download.html
383+
@echo "3. git push --tags"
384+
@echo "4. Browse to github > metis > releases > Latest release"
385+
@echo "5. Add the release name and tarball"
386+
378387
.PHONY: release
379388
release: release-stamp mosml mlton polyml status-test documentation $(STD_BENCHMARK)
380389
rm -f $(RELEASE_DIR)/*.html $(RELEASE_DIR)/*.jpg $(RELEASE_DIR)/*.txt
@@ -385,7 +394,7 @@ release: release-stamp mosml mlton polyml status-test documentation $(STD_BENCHM
385394
rsync -azv --delete --checksum --size-only --exclude=.gitignore -e ssh $(RELEASE_DIR)/ joe@laurelin.gilith.com:www/gilith/software/metis
386395
ssh joe@laurelin.gilith.com '/bin/bash -l bin/install-metis'
387396
@if GIT_PAGER='' git grep '[*][*][*]' ; then echo "WARNING: TODO comments discovered" ; fi
388-
echo Completed release
397+
$(MAKE) release-instructions
389398

390399
.PHONY: hol-release
391400
hol-release: mosml

doc/download.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h3>Download Metis</h3>
3131

3232
<p>The latest version is
3333

34-
Metis 2.3 (release 20171122),
34+
Metis 2.3 (release 20180228),
3535

3636
and can be downloaded in the following formats:</p>
3737

doc/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h3>Project Status</h3>
9292

9393
is
9494

95-
Metis 2.3 (release 20171122).
95+
Metis 2.3 (release 20180228).
9696

9797
Metis is free software, released under the
9898

src/metis.sml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ val PROGRAM = "metis";
1313

1414
val VERSION = "2.3";
1515

16-
val versionString = PROGRAM^" "^VERSION^" (release 20171122)"^"\n";
16+
val versionString = PROGRAM^" "^VERSION^" (release 20180228)"^"\n";
1717

1818
(* ------------------------------------------------------------------------- *)
1919
(* Program options. *)

0 commit comments

Comments
 (0)