Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: GitHub Release

on:
push:
tags:
- "v*"
Comment thread
ekaf marked this conversation as resolved.
Outdated

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- id: b
run: echo "n=$(git branch -r --contains HEAD | sed 's/.*\///' | grep -v HEAD | head -1)" >> $GITHUB_OUTPUT

- run: |
cd /tmp
tar -czf ${{ steps.b.outputs.n }}-${{ github.ref_name }}.tar.gz -C ${{ github.workspace }} --exclude=.git --exclude=.github .
zip -r -q ${{ steps.b.outputs.n }}-${{ github.ref_name }}.zip ${{ github.workspace }} -x '${{ github.workspace }}/.git/*' '${{ github.workspace }}/.github/*'
mv ${{ steps.b.outputs.n }}-${{ github.ref_name }}.* ${{ github.workspace }}/
Comment thread
ekaf marked this conversation as resolved.
Outdated
Comment thread
ekaf marked this conversation as resolved.
Outdated

- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
name: ${{ steps.b.outputs.n }}-${{ github.ref_name }}
generate_release_notes: true
files: |
${{ github.workspace }}/${{ steps.b.outputs.n }}-${{ github.ref_name }}.tar.gz
${{ github.workspace }}/${{ steps.b.outputs.n }}-${{ github.ref_name }}.zip
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,17 @@ Type "make valid" or "make query" to run the Prolog programs,
or "make csv" to generate CSV databases.


## News (2020):
## ChangeLog

### 2020

CSV versions of the WordNet databases (output by _wn2csv.pl_) are now
available through the _wncsv_ project at:

https://github.com/ekaf/wncsv


## News (2025):
### 2025

- Added utils.pl: system-independent implementations of non-standard predicates.
- Added timeit.pl to time predicate calls.
Expand Down Expand Up @@ -128,10 +130,14 @@ Or specify PL=gprolog to use gprolog instead of the default:
make valid PL=gprolog


## News (2026):
### 2026

- Speed up the transitive relation closures, for ex. [_thyp_ in wn_query](wn_query.pl).
- Transitive relation closures in linear time
- Use no hard cut.
- Use call/N instead of univ (=..).
- Add loader.pl, to load files only once.
- Quote strings and fix quotes in CSV output.
- Add SPDX license and copyright tags
- Portable output predicates
- Portability validation workflow
- Release workflow
Loading