Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ pre-commit:
- .pre-commit-config.yaml
- .pre-commit-hooks.yaml
python:
- all: ["spectrafit/**/*.py", "!spectrafit/**/test_*.py"]
- all: ["./spectrafit/**/*.py", "!./spectrafit/**/test_*.py"]
testing:
- all: ["spectrafit/**/test_*.py"]
- all: ["./spectrafit/**/test_*.py"]
docker:
- Dockerfile
- .dockerignore
- .devcontainer/Dockerfile
release:
- all: ["spectrafit/__init__.py", "pyproject.toml"]
- "spectrafit/__init__.py"
vendor:
- vendor/**
maintenance:
Expand All @@ -43,7 +43,7 @@ maintenance:
- .pylintrc
- .sonarcloud.properties
- .sourcery.yaml
- all: ["!spectrafit/__init__.py", "pyproject.toml"]
- "pyproject.toml"
license:
- LICENSE
security:
Expand Down
19 changes: 7 additions & 12 deletions .github/workflows/update-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ jobs:
with:
release-notes: ${{ github.event.release.body }}
latest-version: ${{ github.event.release.name }}
- name: Set git config
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: Create release branch
run: |
git checkout -b release/${{ github.event.release.name }}
git add CHANGELOG.md
git commit -m "Update CHANGELOG for ${{ github.event.release.name }}"
git push --set-upstream origin release/${{ github.event.release.name }}
- name: Change back to main branch
run: git checkout main
- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: release/${{ github.event.release.tag_name }}
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
create_branch: true
Release-Documentation:
name: Build Documentation
needs: Changelog-Update
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "SpectraFit"
version = "1.0.0b1"
version = "1.0.0b2"
description = "Fast fitting of 2D- and 3D-Spectra with established routines"
readme = "README.md"
authors = ["Anselm Hahn <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion spectrafit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""SpectraFit, fast command line tool for fitting data."""
__version__ = "1.0.0b1"
__version__ = "1.0.0b2"