Skip to content

Commit

Permalink
Merge pull request #1574 from dandi/enh-auto-year
Browse files Browse the repository at this point in the history
Do specify our copyright in LICENSE file, unify name with dandiarchive.org, make year auto update in docs
  • Loading branch information
yarikoptic authored Feb 13, 2025
2 parents dec6cb7 + 39221c1 commit c8ed7dd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/update-year.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update year

on:
# We would not trigger update until actual changes are done
# to our code, or we explicitly request
push:
branches:
- 'master'
workflow_dispatch:


jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2019-2024 The DANDI Team

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import dandi

project = "dandi"
copyright = "2021-2024, DANDI Team"
author = "DANDI Team"
copyright = "2021-%Y The DANDI Team"
author = "The DANDI Team"

# The full version, including alpha/beta/rc tags
version = dandi.__version__
Expand Down

0 comments on commit c8ed7dd

Please sign in to comment.