aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-02 04:57:30 +0100
committerSam James <sam@gentoo.org>2022-10-02 04:57:34 +0100
commit4373c50435683ddf8b3683c7cf50978f8486cec0 (patch)
treec08434a7865c15f768476e31a78ec16362a87c5c
parentInit. (diff)
downloadghostscript-gpl-patches-index.tar.gz
ghostscript-gpl-patches-index.tar.bz2
ghostscript-gpl-patches-index.zip
README.md: update instructionsindex
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--README.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/README.md b/README.md
index 4b70c850..f0990fe0 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,11 @@
## Adding a new major version
```
-git checkout --orphan ghostscript-10
+# Old version: ghostscript-9.56.1
+# New version: ghostscript-10
+#
+# git checkout -b ghostscript-${NEW_VERSION} ghostscript-${OLD_VERSION}
+git checkout -b ghostscript-10 ghostscript-9.56.1
git rm -rf .
tar -xaf /tmp/ghostscript-10.0.tar.xz -C . --strip-components=1
find . -name '.gitignore' -delete
@@ -33,10 +37,10 @@ tar -caf ghostscript-gpl-9.50-patchset-01.tar.xz patches/
## Re-spin patch set
```
-# After new version was imported and tagged as ghostscript-9.52,
-# start with checking out latest patch set
-git checkout ghostscript-9.50-gentoo
+# After new version was imported and tagged as ghostscript-10.0,
+# start with checking out latest patch set ghostscript-9.56-gentoo
+git checkout ghostscript-9.56-gentoo
# Create a new branch for our new patch set
-git checkout -b ghostscript-9.52-gentoo
-git rebase --onto ghostscript-9 ghostscript-9.52
+git checkout -b ghostscript-10.0-gentoo
+git rebase ghostscript-10
```