mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 04:17:59 +02:00
Abort release-publish if there's already a published tar file with the current version. (release-publish): Add code to update the LATEST-package-version file.
This commit is contained in:
parent
327dc6f2ae
commit
2473e782ca
3 changed files with 26 additions and 7 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2004-10-28 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* Makefile.am (release-verify-newer): Abort release-publish if
|
||||
there's already a published tar file with the current version.
|
||||
(release-publish): Add code to update the LATEST-package-version
|
||||
file.
|
||||
|
||||
2004-10-27 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* configure.in: Increment CAIRO_VERSION to 0.2.0.
|
||||
|
|
|
|||
16
Makefile.am
16
Makefile.am
|
|
@ -14,7 +14,8 @@ pkgconfig_DATA = cairo.pc
|
|||
# make release-check
|
||||
# or make release-publish
|
||||
|
||||
RELEASE_UPLOAD_DIR = cairographics.org:/home/www/cairo/snapshots
|
||||
RELEASE_UPLOAD_HOST = cairographics.org
|
||||
RELEASE_UPLOAD_DIR = /home/www/cairo/snapshots
|
||||
RELEASE_URL_BASE = http://cairographics.org/snapshots
|
||||
RELEASE_ANNOUNCE_LIST = cairo-announce@cairographics.org
|
||||
|
||||
|
|
@ -29,10 +30,19 @@ release-remove-old:
|
|||
|
||||
release-check: release-remove-old distcheck $(md5_file)
|
||||
|
||||
release-publish: release-check
|
||||
release-verify-newer:
|
||||
@echo -n "Checking that no $(VERSION) release already exists..."
|
||||
@ssh $(RELEASE_UPLOAD_HOST) test ! -e $(RELEASE_UPLOAD_DIR)/$(tar_file) \
|
||||
|| (echo "Ouch." && echo "Found: $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)/$(tar_file)" \
|
||||
&& echo "The version in configure.in must be incremented before a new release." \
|
||||
&& false)
|
||||
@echo "Good."
|
||||
|
||||
release-publish: release-verify-newer release-check
|
||||
mkdir -p releases
|
||||
scp $(tar_file) $(md5_file) $(RELEASE_UPLOAD_DIR)
|
||||
scp $(tar_file) $(md5_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)
|
||||
mv $(tar_file) $(md5_file) releases
|
||||
ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && touch $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)"
|
||||
@echo ""
|
||||
@echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)"
|
||||
@echo "including the following:"
|
||||
|
|
|
|||
10
RELEASING
10
RELEASING
|
|
@ -58,17 +58,19 @@ fixes are committed. Here are the steps to follow:
|
|||
6) Run "make release-publish" which will perform the following steps
|
||||
for you:
|
||||
|
||||
* Check that no release exist with the current version
|
||||
* Verify that make distcheck completes successfully
|
||||
* Generate the final tar file with the correct version number
|
||||
* Generate the final tar file
|
||||
* Generate an md5sum file
|
||||
* scp both files to cairographics.org:/home/www/cairo/snapshots
|
||||
* Create a LATEST-package-version file (after deleting any old one)
|
||||
* Place local copies of both files in the releases directory
|
||||
* Provide some text for the release announcement
|
||||
* Provide some text for the release announcement (see below).
|
||||
|
||||
7) Tag the entire source tree with a tag of the form SNAPSHOT_X_Y_Z:
|
||||
|
||||
cvs tag SNAPSHOT_X_Y_Z
|
||||
|
||||
8) Send a message to cairo-announce@cairographics.org to announce the
|
||||
new snapshot using the text provided by the previous step.
|
||||
9) Send a message to cairo-announce@cairographics.org to announce the
|
||||
new snapshot using the text provided from "make release-publish".
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue