Compare commits
6 Commits
10d81eb8e7
...
9ce4d85778
Author | SHA1 | Date |
---|---|---|
Martin Scheidt | 9ce4d85778 | |
Martin Scheidt | 46aeba8c0c | |
Martin Scheidt | f13ad20f49 | |
github-actions[bot] | 55759b5543 | |
Martin Scheidt | 8b24b5afca | |
Martin Scheidt | 7a0f6a792f |
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -14,7 +14,7 @@ YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"
|
|||
[compat]
|
||||
DataFrames = "^1"
|
||||
JSONSchema = "^1"
|
||||
YAML = "^0"
|
||||
YAML = "^0.4"
|
||||
julia = "^1.6"
|
||||
|
||||
[extras]
|
||||
|
|
Loading…
Reference in New Issue