@@ -15,54 +15,54 @@ permissions:
15
15
pull-requests : write
16
16
17
17
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
25
25
26
- - uses : actions4git/setup-git@v1
26
+ # - uses: actions4git/setup-git@v1
27
27
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"
35
35
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
40
40
41
- git add .
42
- git commit --signoff --message $version
41
+ # git add .
42
+ # git commit --signoff --message $version
43
43
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'
56
56
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
62
62
63
63
push_to_ghcr :
64
64
runs-on : ubuntu-latest
65
- needs : version_update
65
+ # needs: version_update
66
66
steps :
67
67
- name : Checkout GitHub Action
68
68
uses : actions/checkout@v4
0 commit comments