Skip to content

Commit 7afce3d

Browse files
committed
Allow python 3.6 and add CITATION.CFF automation
1 parent 6c742de commit 7afce3d

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

.github/workflows/codemeta2cff.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CodeMeta2CFF
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
workflow_dispatch:
8+
inputs:
9+
reason:
10+
description: 'Reason'
11+
required: false
12+
default: 'Manual trigger'
13+
14+
jobs:
15+
CodeMeta2CFF:
16+
runs-on: ubuntu-20.04
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- name: Convert CFF
21+
uses: caltechlibrary/codemeta2cff@main
22+
- name: Commit CFF
23+
uses: EndBug/add-and-commit@v7
24+
with:
25+
message: 'Add CITATION.cff for release'
26+
add: 'CITATION.cff'
27+
branch: 'main'

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"codeRepository": "https://github.com/caltechlibrary/caltechdata_api",
77
"issueTracker": "https://github.com/caltechlibrary/caltechdata_api/issues",
88
"license": "https://data.caltech.edu/license",
9-
"version": "0.1.10",
9+
"version": "0.1.11",
1010
"author": [
1111
{
1212
"@type": "Person",
@@ -18,7 +18,7 @@
1818
}],
1919
"developmentStatus": "active",
2020
"downloadUrl":
21-
"https://github.com/caltechlibrary/caltechdata_api/archive/0.1.10.zip",
21+
"https://github.com/caltechlibrary/caltechdata_api/archive/0.1.11.zip",
2222
"keywords": [
2323
"GitHub",
2424
"metadata",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def read(fname):
4747
license = meta['license']
4848
name = meta['name']
4949

50-
REQUIRES_PYTHON = '>=3.7.0'
50+
REQUIRES_PYTHON = '>=3.6.0'
5151

5252
# What packages are required for this module to be executed?
5353
REQUIRED = [

0 commit comments

Comments
 (0)