Skip to content

Commit 9c82a26

Browse files
authored
Merge pull request #18 from willynilly/develop
Added .nuspec to action. Updated version.
2 parents 06dbd29 + 00fe124 commit 9c82a26

6 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/check-same-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cache: 'pip' # optional and only works for Python projects
2727

2828
- name: Run same-version
29-
uses: willynilly/same-version@v6.0.0
29+
uses: willynilly/same-version@v6.1.0
3030
with:
3131
fail_for_missing_file: false
3232
check_github_event: true

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ keywords:
3434
- metadata
3535
- harmonization
3636
license: Apache-2.0
37-
version: "6.0.0"
37+
version: "6.1.0"
3838
date-released: "2025-06-10"
3939
references:
4040
- title: Citation File Format

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ jobs:
259259
python-version: ">=3.10"
260260

261261
- name: Run same-version
262-
uses: willynilly/same-version@v6.0.0
262+
uses: willynilly/same-version@v6.1.0
263263
with:
264264
fail_for_missing_file: false
265265
check_github_event: true
@@ -309,7 +309,7 @@ jobs:
309309
python-version: ">=3.10"
310310

311311
- name: Run same-version
312-
uses: willynilly/same-version@v6.0.0
312+
uses: willynilly/same-version@v6.1.0
313313
with:
314314
fail_for_missing_file: false
315315
check_github_event: true
@@ -347,7 +347,7 @@ Add to your `.pre-commit-config.yaml`:
347347
```yaml
348348
repos:
349349
- repo: https://github.com/willynilly/same-version
350-
rev: v6.0.0 # Use latest tag
350+
rev: v6.1.0 # Use latest tag
351351
hooks:
352352
- id: same-version
353353
stages: [pre-commit, pre-push]

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ inputs:
120120
py_version_assignment_path:
121121
description: 'Path to Python file with __version__ assignment'
122122
required: false
123+
check_nuspec:
124+
description: 'Check .nuspec? (true/false)'
125+
required: false
126+
default: 'true'
127+
nuspec_path:
128+
description: 'Path to .nuspec'
129+
required: false
130+
default: '.nuspec'
123131
check_ro_crate_metadata_json:
124132
description: 'Check ro-crate-metadata.json? (true/false)'
125133
required: false

example.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/willynilly/same-version
3-
rev: v6.0.0 # Use latest tag
3+
rev: v6.1.0 # Use latest tag
44
hooks:
55
- id: same-version
66
stages: [pre-commit, pre-push]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "same-version"
7-
version = "6.0.0"
7+
version = "6.1.0"
88
description = "Automatically ensures your software version metadata is consistent across key project files."
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)