diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index c7b5e9f..3df4e56 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -7,7 +7,7 @@ # - build docs # - publish docs, vocabulary-turtle files and excel-file to gh-pages -name: Build & Publish +name: Build on: push: branches: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac4248b..5f05b4d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ # - build docs # - publish docs, vocabulary-turtle files and excel-file to gh-pages -name: Build & Publish +name: Publish on: push: tags: diff --git a/README.md b/README.md index a238185..25785bf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +[![DOI](https://zenodo.org/badge/577900339.svg)](https://zenodo.org/badge/latestdoi/577900339) +[![](https://github.com/nfdi4cat/voc4cat-template/workflows/Publish/badge.svg)](https://github.com/nfdi4cat/voc4cat-template/actions) +[![](https://github.com/nfdi4cat/voc4cat-template/workflows/Build/badge.svg)](https://github.com/nfdi4cat/voc4cat-template/actions) + # A template to maintain vocabularies on GitHub This repository may be used to create and maintain your own SKOS-vocabularies on GitHub. @@ -25,12 +29,11 @@ To validate IRIs the configuration supports ID-ranges (similar to [OBO idrange]( The idea is that every author gets their own range of IDs to consume. This allows independent work and avoids using the same ID repeatedly. - The voc4cat-template implements automatic storage of different versions of the vocabularies in gh-pages: - - `dev` - Directory with artifacts built from the most recent commit to the main branch. - - `latest` - Directory with all files built for the latest release. - - `vYYYY-MM-DD` (for example `v2023-08-16`) - Directory with all files built for the release with this tag. +- `dev` - Directory with artifacts built from the most recent commit to the main branch. +- `latest` - Directory with all files built for the latest release. +- `vYYYY-MM-DD` (for example `v2023-08-16`) - Directory with all files built for the release with this tag. For all versions, multiple files are stored (see https://github.com/nfdi4cat/voc4cat-template/issues/11#issuecomment-1680592185 for details). The correct version string is automatically inserted to all build artifacts. For `dev`, the first eight characters of the commit hash are used as version (for example `v_fadfa5f9`).