Skip to content

Commit

Permalink
fix: change code 11
Browse files Browse the repository at this point in the history
  • Loading branch information
popovevgen committed Dec 27, 2023
1 parent cbac3a3 commit ebd32ae
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: 'Release a new version'

on:
workflow_dispatch:
branches:
- main
# branches named after tags for backports/maintenance
# TODO: wtf kinda syntax is this
- '+([0-9])?(.{+([0-9]),x}).x'

jobs:
release:
Expand Down Expand Up @@ -66,7 +61,7 @@ jobs:
- name: 'Determine the New Version Number'
run: |
NEW_VERSION=$(npx semantic-release --dry-run | grep 'next release version is' | sed 's/.*is //')
NEW_VERSION=$(npx semantic-release --dry-run --debug | grep 'next release version is' | sed 's/.*is //')
echo "New version number: $NEW_VERSION"
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit ebd32ae

Please sign in to comment.