Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
53 changes: 53 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Workflow to draft a release for PRs

name: release

# Controls when the action will run.
on:
# Triggers the workflow on pull request events but only for the main branch
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job
prepare_release:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.6.1

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Get date for the release
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
# Run the release file generation
- name: Update release files
run: cd src/ontology/ && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' GITHUB_ACTION=true prepare_release_fast -B
# Create a draft release with the release files
- name: Draft release
uses: softprops/action-gh-release@v3
with:
generate_release_notes: true
draft: true
tag_name: v${{ steps.date.outputs.date }}
files: |
camo.owl
camo.obo
camo.json
camo-base.owl
camo-base.obo
camo-base.json
camo-full.owl
camo-full.obo
camo-full.json
camo-simple.owl
camo-simple.obo
camo-simple.json

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@

Description: Organized terms in support of a shared data model.

More information can be found at http://obofoundry.org/ontology/camo
More information can be found at [the Common Access Model](https://include-dcc.github.io/common-access-model/)

## Versions

### Stable release versions

The latest version of the ontology can always be found at:

http://purl.obolibrary.org/obo/camo.owl

(note this will not show up until the request has been approved by obofoundry.org)
Release URI TBD

### Editors' version

Expand All @@ -26,4 +24,4 @@ Please use this GitHub repository's [Issue tracker](https://github.com/include-d

## Acknowledgements

This ontology repository was created using the [Ontology Development Kit (ODK)](https://github.com/INCATools/ontology-development-kit).
This ontology repository was created using the [Ontology Development Kit (ODK)](https://github.com/INCATools/ontology-development-kit).
Loading