Skip to content

Commit

Permalink
feat(logging): add logging framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Chethan-rao committed Nov 20, 2023
1 parent cf85a20 commit 1b1c8d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ jobs:
# Only consider tags on current branch when setting PREVIOUS_TAG
run: |
PREVIOUS_TAG="$(git tag --sort='version:refname' --merged | tail --lines 1)"
if [[ "$(cog bump --auto --dry-run)" == *"No conventional commits for your repository that required a bump"* ]]; then
NEW_TAG="$(cog bump --patch --dry-run)"
else
NEW_TAG="$(cog bump --auto --dry-run)"
fi
cog bump --auto --dry-run
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
echo "PREVIOUS_TAG=${PREVIOUS_TAG}" >> $GITHUB_ENV
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1599,5 +1599,6 @@
#[allow(dead_code)]
enum PaymentMethod {
Card,
PayLater,
}
fn main() {}

0 comments on commit 1b1c8d4

Please sign in to comment.