Skip to content

Commit

Permalink
[LOCAL] Fix input types for create-release
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Jun 18, 2024
1 parent 1b89135 commit 56e1c8b
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/actions/create-release/action.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
name: create_release
description: Creates a new React Native release
inputs:
version:
description: 'The version of React Native we want to release. For example 0.75.0-rc.0'
required: true
type: string
is_latest_on_npm:
description: 'Whether we want to tag this release as latest on NPM'
required: true
type: boolean
default: false
dry_run:
description: 'Whether the job should be executed in dry-run mode or not'
type: boolean
default: false
version:
description: "The version of React Native we want to release. For example 0.75.0-rc.0"
required: true
is_latest_on_npm:
description: "Whether we want to tag this release as latest on NPM"
required: true
default: "false"
dry_run:
description: "Whether the job should be executed in dry-run mode or not"
default: "false"
runs:
using: composite
steps:
Expand Down Expand Up @@ -42,7 +39,7 @@ runs:
git tag -a "latest" -m "latest"
- name: Pushing release commit
shell: bash
if: ${{ inputs.dry_run == false }}
if: ${{ inputs.dry_run == "false" }}
run: |
CURR_BRANCH="$(git branch --show-current)"
git push origin "$CURR_BRANCH" --follow-tags

0 comments on commit 56e1c8b

Please sign in to comment.