Skip to content

Commit

Permalink
fix: shameful copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
ScarletFlash committed Nov 10, 2024
1 parent bd39c21 commit 64899a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- "main"
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}-${{ github.event_name }}
Expand All @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
name: Publish package to NPM
steps:
- name: "Fetch current Git commit history"
- name: 'Fetch current Git commit history'
uses: actions/checkout@v4
with:
fetch-depth: 2
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
CURRENT_VERSION=$(grep --only-matching --perl-regexp '"version":\s*"\K[^"]+' package.json)
TARGET_VERSION="$CURRENT_VERSION-sha.${{github.sha}}"
if pnpm view @sibe-io/mesh-file-postprocessor@"${TARGET_VERSION}" > /dev/null 2>&1; then
if pnpm view consy@"${TARGET_VERSION}" > /dev/null 2>&1; then
echo "Version already exists. Skipping publish."
else
cd bundle
Expand Down

0 comments on commit 64899a4

Please sign in to comment.