You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Upload a GitHub release to Zenodo
2
2
3
-
This is a Github action to update your `codemeta.json`, `CITATION.cff` and `.zenodo.json` files with the release information and then upload your release to Zenodo.
3
+
This is a Github action to update your `codemeta.json`, `CITATION.cff`, and `.zenodo.json` files with the release information and then upload your release to Zenodo.
4
4
5
-
This action uses the **tag name** of the release to update the `version` field in the metadata files. Be sure to use the correct tag name. Within your tag name a valid `semver` version should be present.
5
+
This action uses the **tag name** of the release to update the `version` field in the metadata files. Be sure to use the correct tag name. Within your tag name, a valid `semver` version should be present.
6
6
7
-
When update metadata files are added to your repository, the action will automatically send the new metadata files in its release. This will also mean that your Github release will not contain the updated metadata files. To avoid this, you can set the `update_metadata_files` option to `false` and add a `.zenodo.json` file.
7
+
When updated metadata files are added to your repository, the action will automatically send the new metadata files in its release. This will also mean that your GitHub release will not contain the updated metadata files. To avoid this, you can set the `update_metadata_files` option to `false` and add a `.zenodo.json` file.
8
8
9
-
Remember to remove the webhook from your repository before using this action. Otherwise, you will have two releases on Zenodo for every release on Github.
9
+
Remember to remove the webhook from your repository before using this action. Otherwise, you will have two releases on Zenodo for every release on GitHub.
10
10
11
-
Currently the following files and fields will be updated:
11
+
Currently, the following files and fields will be updated:
12
12
13
13
* `codemeta.json`:
14
14
* `version`: The release version
@@ -17,13 +17,13 @@ Currently the following files and fields will be updated:
17
17
* `CITATION.cff`:
18
18
* `version`: The release version
19
19
* `identifiers`: The release identifier (Zenodo version specific doi).
20
-
This action currently assumes your old zenodo doi is the first item in the list.
20
+
This action assumes your old zenodo doi is the first item in the list.
21
21
22
22
* `.zenodo.json`:
23
23
* `version`: The release version
24
24
25
25
* `docs.compatibility.json`
26
-
* A new entry will be added in this file. This entry is meant for versioned Docusaurus projects
26
+
* A new entry will be added to this file. This entry is meant for versioned Docusaurus projects
27
27
* `docsVersion` - The new docs version
28
28
* `appVersion` - The latest app version
29
29
@@ -80,7 +80,7 @@ jobs:
80
80
name: A job to update metadata and push a release to Zenodo
81
81
82
82
steps:
83
-
# This step is not needed at the moment but might decide to add on more steps in the future
83
+
# This step is not needed at the moment but I might decide to add more steps in the future
I originally built this to handle auto-deploying our Docusaurus documentation sites to Zenodo. This was my first GitHub action so I'm hoping to improve this soon. We have since created another tool that you might be interested in for deploying your research software to Zenodo. [Codefair](https://codefair.io) is a free and open source GitHub app that acts as your personal assistant when it comes to making your research software reusable and especially complying with the Findable, Accessible, Interoperable, Reusable (FAIR) Principles for Research Software (FAIR4RS Principles)
0 commit comments