Skip to content

Commit

Permalink
Prepare for v0.5.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfwilson committed Dec 21, 2021
1 parent aa1e2a3 commit 50868d2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
27 changes: 24 additions & 3 deletions .release
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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"]
],
Expand Down

0 comments on commit 50868d2

Please sign in to comment.