Skip to content

Commit

Permalink
Simplify Simplify and clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Steven K <[email protected]>
  • Loading branch information
rh0dium committed Dec 28, 2023
1 parent 311c847 commit e17fc99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,7 @@ jobs:
TASK_ALWAYS_EAGER: 1
GITHUB_TOKEN: ${{ secrets.ORGANIZATIONAL_REPO_TOKEN }}
run: |
bumper.py --directory . --exclude=.idea,.github,demo_app \
--version_files app_metrics/__init__.py \
--repo=pivotal-energy-solutions/django-app-metrics > out.json
bumper -P
echo "bumped=$(jq '.bumped' out.json)" >> $GITHUB_OUTPUT
echo "bump_version=$(jq '.bump_version' out.json)" >> $GITHUB_OUTPUT
echo "bump_sha=$(jq '.bump_sha' out.json)" >> $GITHUB_OUTPUT
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,9 @@ skip_covered = true
skip_empty = true
ignore_errors = true
sort = "cover"

[tool.bumper]
exclude = [".idea", ".github", "demo_app"]
version_files = ["app_metrics/__init__.py"]
repo = "pivotal-energy-solutions/django-app-metrics"
report = "out.json"

0 comments on commit e17fc99

Please sign in to comment.