Compare commits

...

6 Commits

Author SHA1 Message Date
Martin Scheidt 9ce4d85778 fixed version issues 2022-06-07 15:40:58 +02:00
Martin Scheidt 46aeba8c0c Merge remote-tracking branch 'github/main' 2022-06-07 15:23:14 +02:00
Martin Scheidt f13ad20f49 fixed another typo 2022-06-07 15:22:51 +02:00
github-actions[bot] 55759b5543
Set version to 1.0.1 2022-06-07 11:15:22 +00:00
Martin Scheidt 8b24b5afca fixed typo 2022-06-07 13:13:59 +02:00
Martin Scheidt 7a0f6a792f change YAML compat to meet automerge with JuliaRegistries 2022-06-07 13:08:26 +02:00
4 changed files with 14 additions and 8 deletions

View File

@ -4,6 +4,7 @@ on:
branches:
- main
paths-ignore:
- 'CHANGELOG.md'
- 'CITATION.cff'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
@ -11,9 +12,12 @@ on:
- 'README.md'
- '.github/workflows/cffvalidation.yml'
- '.github/workflows/CompatHelper.yml'
- '.github/workflows/release.yml'
- '.github/workflows/TagBot.yml'
- '.github/zenodo/*'
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'CITATION.cff'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
@ -21,7 +25,9 @@ on:
- 'README.md'
- '.github/workflows/cffvalidation.yml'
- '.github/workflows/CompatHelper.yml'
- '.github/workflows/release.yml'
- '.github/workflows/TagBot.yml'
- '.github/zenodo/*'
workflow_dispatch:
concurrency:

View File

@ -32,7 +32,7 @@ jobs:
BOTTOM=$(( $TOP + $BOTTOM ))
BOTTOM=$(( $BOTTOM - 2 ))
TOP=$(( $TOP + 1 ))
awk "NR>$TOP&&NR<$BOTTOM" CHANGELOG.md > release-note-$VERSION.md
awk "NR>$TOP&&NR<$BOTTOM" CHANGELOG.md > release-note-v$VERSION.md
sed -i -- "s/###/##/g" release-note-v$VERSION.md
rm release-note.tmp.md
@ -53,7 +53,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
path: |
release-note-${{ github.event.inputs.version }}.md
release-note-v${{ github.event.inputs.version }}.md
TrainRuns.jl-v${{ github.event.inputs.version }}.zip
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
- uses: actions/upload-artifact@v3
@ -141,7 +141,7 @@ jobs:
echo "::set-output name=doi::$(zenodraft deposition show prereserved $ID)"
update_citation:
needs: [create_package, publish_zenodo]
needs: [create_package, register, publish_zenodo]
name: "updating CITATION.cff"
runs-on: ubuntu-latest
steps:
@ -176,7 +176,7 @@ jobs:
commit_user_email: railtoolkit@ownx.net
publish_twitter:
needs: [create_package, publish_zenodo]
needs: [publish_zenodo]
name: "tweet about it"
runs-on: ubuntu-latest
steps:

View File

@ -20,7 +20,7 @@ identifiers:
value: 10.5281/zenodo.6448563
description: 'Collection of archived snapshots of all versions of the library'
- type: doi
value: 10.5281/zenodo.6615424
value: 10.5281/zenodo.6619548
description: Current version
url: 'https://www.railtoolkit.org/projects/TrainRuns.jl/'
repository: 'https://github.com/railtoolkit/TrainRuns.jl'
@ -36,5 +36,5 @@ keywords:
- driving dynamics
- julia language
license: ISC
version: v1.0.1
date-released: 2022-06-05
version: 1.0.1
date-released: 2022-06-07

View File

@ -14,7 +14,7 @@ YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"
[compat]
DataFrames = "^1"
JSONSchema = "^1"
YAML = "^0"
YAML = "^0.4"
julia = "^1.6"
[extras]