Skip to content

Commit e566550

Browse files
committed
skip automatic version bumps
1 parent 2e9be4c commit e566550

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/deploy_to_ghcr_tag_release.yaml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -15,54 +15,54 @@ permissions:
1515
pull-requests: write
1616

1717
jobs:
18-
version_update:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Checkout GitHub Action
22-
uses: actions/checkout@v4
23-
with:
24-
fetch-depth: 0
18+
# version_update:
19+
# runs-on: ubuntu-latest
20+
# steps:
21+
# - name: Checkout GitHub Action
22+
# uses: actions/checkout@v4
23+
# with:
24+
# fetch-depth: 0
2525

26-
- uses: actions4git/setup-git@v1
26+
# - uses: actions4git/setup-git@v1
2727

28-
- name: Update version in package.json
29-
id: version
30-
run: |
31-
git checkout main
32-
version=$(npm version from-git --no-git-tag-version)
33-
echo "version=$version" >> $GITHUB_OUTPUT
34-
echo "NPM version is $version"
28+
# - name: Update version in package.json
29+
# id: version
30+
# run: |
31+
# git checkout main
32+
# version=$(npm version from-git --no-git-tag-version)
33+
# echo "version=$version" >> $GITHUB_OUTPUT
34+
# echo "NPM version is $version"
3535

36-
if [ "${{ github.event.release.tag_name }}" != "$version" ]; then
37-
echo "Release tag does not match the expected version."
38-
exit 1
39-
fi
36+
# if [ "${{ github.event.release.tag_name }}" != "$version" ]; then
37+
# echo "Release tag does not match the expected version."
38+
# exit 1
39+
# fi
4040

41-
git add .
42-
git commit --signoff --message $version
41+
# git add .
42+
# git commit --signoff --message $version
4343

44-
- name: Create Pull Request
45-
uses: peter-evans/create-pull-request@v7
46-
continue-on-error: true
47-
with:
48-
title: '🚀Update version to ${{ steps.version.outputs.version }}'
49-
body: |
50-
This PR updates the version to ${{ steps.version.outputs.version }}.
51-
Use **merge commit** strategy for this PR!
52-
branch: 'version-update-${{ steps.version.outputs.version }}'
53-
delete-branch: true
54-
labels: 'version-update'
55-
base: 'main'
44+
# - name: Create Pull Request
45+
# uses: peter-evans/create-pull-request@v7
46+
# continue-on-error: true
47+
# with:
48+
# title: '🚀Update version to ${{ steps.version.outputs.version }}'
49+
# body: |
50+
# This PR updates the version to ${{ steps.version.outputs.version }}.
51+
# Use **merge commit** strategy for this PR!
52+
# branch: 'version-update-${{ steps.version.outputs.version }}'
53+
# delete-branch: true
54+
# labels: 'version-update'
55+
# base: 'main'
5656

57-
- name: Move tag ${{ steps.version.outputs.version }} to PR
58-
run: |
59-
echo "moving tag ${{ steps.version.outputs.version }}"
60-
git tag --force ${{ steps.version.outputs.version }}
61-
git push origin ${{ steps.version.outputs.version }} --force
57+
# - name: Move tag ${{ steps.version.outputs.version }} to PR
58+
# run: |
59+
# echo "moving tag ${{ steps.version.outputs.version }}"
60+
# git tag --force ${{ steps.version.outputs.version }}
61+
# git push origin ${{ steps.version.outputs.version }} --force
6262

6363
push_to_ghcr:
6464
runs-on: ubuntu-latest
65-
needs: version_update
65+
# needs: version_update
6666
steps:
6767
- name: Checkout GitHub Action
6868
uses: actions/checkout@v4

0 commit comments

Comments
 (0)