Skip to content

Commit 35bc72d

Browse files
committed
comment out extras
1 parent 18d465b commit 35bc72d

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

.github/workflows/publish-rc.yml

+21-20
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,28 @@ jobs:
2828
echo "::set-output name=package_name::$PACKAGE_NAME"
2929
echo "::set-output name=current_version::$PACKAGE_VERSION"
3030
31-
- name: Install dependencies
32-
run: npm install
31+
# - name: Install dependencies
32+
# run: npm install
3333

34-
- name: Run tests
35-
run: npm test
34+
# - name: Run tests
35+
# run: npm test
3636

37-
- name: Build package
38-
run: npm run build
37+
# - name: Build package
38+
# run: npm run build
3939

40-
- name: Ensure no untracked changes after build
41-
run: |
42-
if [ -n "$(git status --porcelain)" ]; then
43-
echo "Untracked changes found after build"
44-
exit 1
45-
else
46-
echo "No untracked changes"
47-
fi
40+
# - name: Ensure no untracked changes after build
41+
# run: |
42+
# if [ -n "$(git status --porcelain)" ]; then
43+
# echo "Untracked changes found after build"
44+
# exit 1
45+
# else
46+
# echo "No untracked changes"
47+
# fi
4848

49-
- name: Set Git config
50-
run: |
51-
git config --local user.email "[email protected]"
52-
git config --local user.name "Github Actions"
49+
# - name: Set Git config
50+
# run: |
51+
# git config --local user.email "[email protected]"
52+
# git config --local user.name "Github Actions"
5353

5454
- name: Iterate rc version
5555
run: npm version prerelease --preid=rc
@@ -58,14 +58,15 @@ jobs:
5858
run: |
5959
# Get the current version from package.json
6060
current_base_version=$(node -p "require('./package.json').version") | cut -d "-" -f 1
61+
echo $current_base_version
6162
# Check for matching npm versions
62-
matching_versions=$(npm view ${{ steps.get_package_info.outputs.package_name }} versions --json | grep "$current_base_version")
63+
matching_versions=$(npm view ${{ steps.get_package_info.outputs.package_name }} versions --json | grep $current_base_version)
6364
echo $matching_versions
6465
echo $current_base_version
6566
if [ -n "$matching_versions" ]; then
6667
# Overwrite package.json version with the latest rc version
6768
latest_rc_version=$(echo "$matching_versions" | sort -V | tail -n 1)
68-
npm version "$latest_rc_version"
69+
npm version $latest_rc_version
6970
echo "Updated package.json to version $latest_rc_version"
7071
# Run npm version prerelease again
7172
npm version prerelease --preid=rc

0 commit comments

Comments
 (0)