Skip to content

Commit

Permalink
bump: Bump to v0.2.8 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
limakzi committed Aug 28, 2024
1 parent bd8cf2b commit 15beb93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
gap-branch: stable-4.13
revision: ${{ github.event.repository.name }}-${{ github.ref_name }}
archive-file: ${{ github.event.repository.name }}-${{ github.ref_name }}.tar.gz

jobs:
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
- name: pkg -- build an archive
run: |
touch ${{ env.archive-file }}
tar -czf ${{ env.archive-file }} --exclude=${{ env.archive-file }} .
tar -czf ${{ env.archive-file }} --exclude=${{ env.archive-file }} --transform 's,^,/${{ env.revision }}/,' .
- name: github -- upload artifacts
uses: softprops/action-gh-release@v2
Expand All @@ -79,18 +80,18 @@ jobs:
uses: robinraju/release-downloader@v1
with:
tag: ${{ github.ref_name }}
fileName: ${{ github.repository }}-${{ github.ref_name }}.tar.gz
fileName: ${{ env.archive-file }}

- name: website -- extract the archive
run: |
tar -xvf ${{ github.repository }}-${{ github.ref_name }}.tar.gz
tar -xvf ${{ env.archive-file }}
- name: metadata -- copy metada to update page
run: |
rm -r ./gh-pages/doc
cp -r ./doc/ ./gh-pages/doc/
cp ./PackageInfo.g ./gh-pages/PackageInfo.g
cp ./README.md ./gh-pages/README.md
cp -r ${{ env.revision }}/doc/ ./gh-pages/doc/
cp ${{ env.revision }}/PackageInfo.g ./gh-pages/PackageInfo.g
cp ${{ env.revision }}/README.md ./gh-pages/README.md
rm -v ./gh-pages/doc/.gitignore
- name: gap -- run update.g
Expand Down
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Subtitle := "A fork of smallgrp package for small antiassociative magmas",
## See '?Extending: Version Numbers' in GAP help for an explanation
## of valid version numbers. For an automatic package distribution update
## you must provide a new version number even after small changes.
Version := "0.2.7",
Version := "0.2.8",

## Release date of the current version in dd/mm/yyyy format.
Date := "28/08/2024",
Expand Down

0 comments on commit 15beb93

Please sign in to comment.