Quellcode durchsuchen

ci: fix publish command

LongYinan vor 4 Jahren
Ursprung
Commit
e903e1ec28
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      .github/workflows/CI.yaml

+ 1 - 1
.github/workflows/CI.yaml

@@ -575,7 +575,7 @@ jobs:
           then
             echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
             npm publish --access public
-          else if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
+          elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
           then
             echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
             npm publish --tag next --access public