Skip to content

Commit

Permalink
Release (#133)
Browse files Browse the repository at this point in the history
* fix: ci process

* fix: ci process

* fix: ci process

* fix: ci process
  • Loading branch information
vijayvammi authored Feb 14, 2024
1 parent be6d925 commit 9215f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
on:
pull_request:
paths:
- "magnus/**"
branches:
- "main"

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
on:
push:
paths:
- "magnus/**"
branches:
- "main"
- "rc"
Expand Down Expand Up @@ -53,11 +51,11 @@ jobs:
CURRENT=$(git tag --sort=-committerdate -l | head -n 1)
echo "current: $CURRENT"
VERSION=$(python -m semantic-release --noop --strict version --no-push --no-commit --print)
VERSION=$(semantic-release --noop --strict version --no-push --no-commit --print)
echo "New: $VERSION"
if [ "$CURRENT" == "$VERSION" ]; then
echo "version="" >> $GITHUB_OUTPUT
echo "version=$VERSION" >> $GITHUB_OUTPUT
exit 1
fi
Expand Down

0 comments on commit 9215f88

Please sign in to comment.