Skip to content

Commit f774d44

Browse files
committed
Test release
1 parent ad6360c commit f774d44

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

.github/workflows/Tests.yml

+11
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,14 @@ jobs:
3737
TERM=dumb make -C FinSetsForCAP -j $(nproc) --output-sync ci-test
3838
cp ./FinSetsForCAP/.codecov.yml ./
3939
curl -s https://codecov.io/bash | bash
40+
git config --global user.name "Bot"
41+
git config --global user.email "empty"
42+
cd FinSetsForCAP
43+
CUR_SHA=$(git rev-parse --verify HEAD)
44+
git worktree add gh-pages/ gh-pages || (echo "There was an error. Make sure there is a branch named 'gh-pages'. See https://github.com/homalg-project/PackageJanitor#error-there-was-an-error-make-sure-there-is-a-branch-named-gh-pages"; exit 1)
45+
if [ "${{ matrix.image }}" = "gapsystem/gap-docker" ] && [ "$CUR_SHA" = "$(git rev-parse origin/master)" ] && [ $(dirname "$GITHUB_REPOSITORY") = "homalg-project" ]; then \
46+
git checkout master; \
47+
./make_dist.sh --token "${{ secrets.GITHUB_TOKEN }}"; \
48+
else \
49+
echo "Not making a release."; \
50+
fi

PackageInfo.g

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Version := Maximum( [
1515
## this line prevents merge conflicts
1616
"2017.05.26", ## Julia's version
1717
## this line prevents merge conflicts
18-
"2020.01.20", ## Fabian's version
18+
"2020.10.01", ## Fabian's version
1919
## this line prevents merge conflicts
2020
"2018.08.31", ## Mario's version
2121
## this line prevents merge conflicts

make_dist.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#/bin/bash
1+
#!/bin/bash
22

3-
base_dir="$PWD"
4-
5-
./release-gap-package --srcdir ${base_dir} --webdir ${base_dir}/gh-pages --update-file ${base_dir}/gh-pages/update.g $@
3+
./release-gap-package $@

release-gap-package

100644100755
File mode changed.

0 commit comments

Comments
 (0)