Skip to content

Commit

Permalink
Update changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jul 31, 2024
1 parent 1a5ed2e commit 050f160
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ on:
type: string
description: set specific version for mix_generator
default: ""
update_remix:
type: boolean
description: whether to update remix
default: true
remix:
type: string
description: set specific version for remix
default: ""

jobs:
version:
Expand Down Expand Up @@ -94,6 +102,9 @@ jobs:
if [ "${{ github.event.inputs.update_mix_generator }}" == "false" ]; then
ignored_packages="$ignored_packages --ignore=mix_generator"
fi
if [ "${{ github.event.inputs.update_remix }}" == "false" ]; then
ignored_packages="$ignored_packages --ignore=remix"
fi
packages_with_versions=""
Expand All @@ -109,6 +120,9 @@ jobs:
if [ "${{ github.event.inputs.mix_generator }}" != "" ]; then
packages_with_versions="$packages_with_versions -V mix_generator:${{ github.event.inputs.mix_generator }}"
fi
if [ "${{ github.event.inputs.remix }}" != "" ]; then
packages_with_versions="$packages_with_versions -V remix:${{ github.event.inputs.remix }}"
fi
melos version $ignored_packages --yes --no-git-tag-version $packages_with_versions
Expand Down

0 comments on commit 050f160

Please sign in to comment.