From 50868d226d98f9edbc813435c631b5e3bec014a9 Mon Sep 17 00:00:00 2001 From: Wilf Wilson Date: Tue, 21 Dec 2021 12:59:14 +0000 Subject: [PATCH] Prepare for v0.5.2 release --- .release | 27 ++++++++++++++++++++++++--- PackageInfo.g | 6 +++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/.release b/.release index 57085ee..c44770e 100755 --- a/.release +++ b/.release @@ -1,4 +1,25 @@ -#!/bin/sh -# This file is executed by the `release` script from +#!/bin/bash +# This script is intended to be run by the release-gap-package script which is +# part of the the ReleaseTools for GAP: +# # https://github.com/gap-system/ReleaseTools -rm -rf .codecov.yml + +set -e + +# ensure we are in the same directory as this script +cd "$(dirname "${BASH_SOURCE[0]}")" + +notice_it() { + printf '\033[93m%s\033[0m\n' "$*" +} + +notice_it "Fixing the links in the documentation" +for f in ./*/*.htm* ; do + sed \ + -e 's;href="../../../pkg/[dD]igraphs[^\/]*/doc/;href="https://digraphs.github.io/Digraphs/doc/;g' \ + -e 's;href="../../../pkg/[iI]mages[^\/]*/doc/;href="https://gap-packages.github.io/images/doc/;g' \ + -e 's;href="../../../pkg/[bB]acktrack[kK]it[^\/]*/doc/;href="https://peal.github.io/BacktrackKit/doc/;g' \ + -e 's;href="../../../pkg/[vV]ole[^\/]*/doc/;href="https://peal.github.io/vole/doc/;g' \ + "$f" > "$f.bak" + mv "$f.bak" "$f" +done diff --git a/PackageInfo.g b/PackageInfo.g index 96d8cfd..a0a6995 100644 --- a/PackageInfo.g +++ b/PackageInfo.g @@ -10,8 +10,8 @@ SetPackageInfo( rec( PackageName := "GraphBacktracking", Subtitle := "A simple but slow implementation of graph backtracking", -Version := "0.5.1", -Date := "03/12/2021", # dd/mm/yyyy format +Version := "0.5.2", +Date := "21/12/2021", # dd/mm/yyyy format Persons := [ rec( @@ -76,7 +76,7 @@ PackageDoc := rec( Dependencies := rec( GAP := ">= 4.11", NeededOtherPackages := [ - ["BacktrackKit", ">=0.6.0"], + ["BacktrackKit", ">=0.6.1"], ["digraphs", ">=1.1.1"], ["images", ">= 1.3.0"] ],