Skip to content

Commit

Permalink
Allow python 3.6 and add CITATION.CFF automation
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Jul 22, 2021
1 parent 6c742de commit 7afce3d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/codemeta2cff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CodeMeta2CFF

on:
push:
tags:
- v*
workflow_dispatch:
inputs:
reason:
description: 'Reason'
required: false
default: 'Manual trigger'

jobs:
CodeMeta2CFF:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Convert CFF
uses: caltechlibrary/codemeta2cff@main
- name: Commit CFF
uses: EndBug/add-and-commit@v7
with:
message: 'Add CITATION.cff for release'
add: 'CITATION.cff'
branch: 'main'
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"codeRepository": "https://github.com/caltechlibrary/caltechdata_api",
"issueTracker": "https://github.com/caltechlibrary/caltechdata_api/issues",
"license": "https://data.caltech.edu/license",
"version": "0.1.10",
"version": "0.1.11",
"author": [
{
"@type": "Person",
Expand All @@ -18,7 +18,7 @@
}],
"developmentStatus": "active",
"downloadUrl":
"https://github.com/caltechlibrary/caltechdata_api/archive/0.1.10.zip",
"https://github.com/caltechlibrary/caltechdata_api/archive/0.1.11.zip",
"keywords": [
"GitHub",
"metadata",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def read(fname):
license = meta['license']
name = meta['name']

REQUIRES_PYTHON = '>=3.7.0'
REQUIRES_PYTHON = '>=3.6.0'

# What packages are required for this module to be executed?
REQUIRED = [
Expand Down

0 comments on commit 7afce3d

Please sign in to comment.