Skip to content

Commit

Permalink
fix: able to remove this stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart committed Jun 10, 2022
1 parent 0cda0a8 commit 76495a7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/actions/semantic-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ runs:
using: composite
steps:
- name: Installing semantic-release
if: ${{ !contains(github.event.head_commit.message, 'skip ci') == false }}
run: |
echo "Installing semantic-release..."
npm install semantic-release@17 @semantic-release/git@9 --no-save
Expand Down Expand Up @@ -59,10 +58,8 @@ runs:
shell: bash
- name: Create semantic-release configuration
run: |
if [ ${{ !contains(github.event.head_commit.message, 'skip ci') }} == true ]; then
echo "Creating semantic-release configuration (DEFAULT_BRANCH: ${{ inputs.DEFAULT_BRANCH }} , NPM: ${{ inputs.NPM }})..."
${{ github.action_path }}/create-config.sh
fi
echo "Creating semantic-release configuration (DEFAULT_BRANCH: ${{ inputs.DEFAULT_BRANCH }} , NPM: ${{ inputs.NPM }})..."
${{ github.action_path }}/create-config.sh
env:
DEFAULT_BRANCH: ${{ inputs.DEFAULT_BRANCH }}
FILE_PATH: ${{ github.workspace }}/.releaserc.json
Expand All @@ -75,10 +72,6 @@ runs:
NPM_TOKEN: ${{ inputs.NPM_TOKEN }}
run: |
echo "::set-output name=version::"
if [ ${{ contains(github.event.head_commit.message, 'skip ci') }} == true ]; then
echo "[skip ci] detected so skipping release"
exit 0;
fi
if [ ${{ inputs.DRY_RUN }} == true ]; then
echo "Running semantic-release (dry run)..."
npx semantic-release --dry-run
Expand Down

0 comments on commit 76495a7

Please sign in to comment.