Skip to content

Commit

Permalink
Test release
Browse files Browse the repository at this point in the history
  • Loading branch information
zickgraf committed Oct 7, 2020
1 parent ad6360c commit f774d44
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,14 @@ jobs:
TERM=dumb make -C FinSetsForCAP -j $(nproc) --output-sync ci-test
cp ./FinSetsForCAP/.codecov.yml ./
curl -s https://codecov.io/bash | bash
git config --global user.name "Bot"
git config --global user.email "empty"
cd FinSetsForCAP
CUR_SHA=$(git rev-parse --verify HEAD)
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)
if [ "${{ matrix.image }}" = "gapsystem/gap-docker" ] && [ "$CUR_SHA" = "$(git rev-parse origin/master)" ] && [ $(dirname "$GITHUB_REPOSITORY") = "homalg-project" ]; then \
git checkout master; \
./make_dist.sh --token "${{ secrets.GITHUB_TOKEN }}"; \
else \
echo "Not making a release."; \
fi
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Version := Maximum( [
## this line prevents merge conflicts
"2017.05.26", ## Julia's version
## this line prevents merge conflicts
"2020.01.20", ## Fabian's version
"2020.10.01", ## Fabian's version
## this line prevents merge conflicts
"2018.08.31", ## Mario's version
## this line prevents merge conflicts
Expand Down
6 changes: 2 additions & 4 deletions make_dist.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#/bin/bash
#!/bin/bash

base_dir="$PWD"

./release-gap-package --srcdir ${base_dir} --webdir ${base_dir}/gh-pages --update-file ${base_dir}/gh-pages/update.g $@
./release-gap-package $@
Empty file modified release-gap-package
100644 → 100755
Empty file.

0 comments on commit f774d44

Please sign in to comment.