-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script for generating releases (see #40)
The script 801_generate_releases.sh will create zips in base/releases. Some items are WIP (i.e. CSV, JSON), others are deactivated due to empty folders (guides, examples).
- Loading branch information
1 parent
1a9bb10
commit 1ef75c8
Showing
4 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,3 +139,4 @@ cython_debug/ | |
|
||
# ont-converter jar files should be skipped | ||
ont-converter.jar | ||
releases |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/usr/bin/env bash | ||
#author: Harshvardhan J. Pandit | ||
|
||
# Generate DPV Releases | ||
# Creates Zips or 'packages' for creating a new release | ||
# Zips are stored in `repo-base/releases` which is gitignored | ||
|
||
# Creates the following zips: | ||
# 1. dpv.zip - DPV + Extensions as SKOS vocabulary | ||
# 2. dpv-skos.zip - DPV + Extensions as RDFS+SKOS ontology | ||
# 3. dpv-owl.zip - DPV + Extensions as OWL ontology | ||
# 4. dpv-csv.zip - DPV + Extensions as CSV files | ||
# 5. dpv-json.zip - DPV + Extensions as JSON files | ||
# 6. dpv-nace.zip - DPV NACE vocabulary | ||
# 7. dpv-examples.zip - Collected examples of using DPV | ||
# 8. dpv-guides.zip - Collected guides and tutorials on using DPV | ||
|
||
# zip | ||
# -db display bytes | ||
# -dc display counts | ||
# -dg display global dots | ||
# -r input files recursively | ||
# -O output file | ||
|
||
cd .. | ||
mkdir -p releases | ||
|
||
# 1. dpv.zip - DPV + Extensions as SKOS vocabulary | ||
zip -q releases/dpv.zip -r dpv dpv-gdpr dpv-pd dpv-legal dpv-tech | ||
echo "generated releases/dpv.zip" | ||
|
||
# 2. dpv-skos.zip - DPV + Extensions as RDFS+SKOS ontology | ||
zip -q releases/dpv-skos.zip -r dpv-skos | ||
echo "generated releases/dpv-skos.zip" | ||
|
||
# 3. dpv-owl.zip - DPV + Extensions as OWL ontology | ||
zip -q releases/dpv-owl.zip -r dpv-owl | ||
echo "generated releases/dpv-owl.zip" | ||
|
||
# 4. dpv-csv.zip - DPV + Extensions as CSV files | ||
# TODO | ||
|
||
# 5. dpv-json.zip - DPV + Extensions as JSON files | ||
# TODO | ||
|
||
# 6. dpv-nace.zip - DPV NACE vocabulary | ||
zip -q releases/dpv-nace.zip -r dpv-nace | ||
echo "generated releases/dpv-nace.zip" | ||
|
||
# 7. dpv-examples.zip - Collected examples of using DPV | ||
# EMPTY FOLDERS | ||
# zip -q releases/dpv-examples.zip -r dpv-examples | ||
# echo "generated releases/dpv-examples.zip" | ||
|
||
# 8. dpv-guides.zip - Collected guides and tutorials on using DPV | ||
# EMPTY FOLDERS | ||
# zip -q releases/dpv-guides.zip -r dpv-guides | ||
# echo "generated releases/dpv-guides.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters