Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit 94a8221

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/sentry/vue-8.47.0
2 parents c3e3ac0 + 2174513 commit 94a8221

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

.github/workflows/build.yml

+58-58
Original file line numberDiff line numberDiff line change
@@ -10,66 +10,66 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
version_checker:
14-
runs-on: ubuntu-latest
15-
16-
outputs:
17-
VERSION_MATCH: ${{ steps.compare-versions.outputs.VERSION_MATCH }}
18-
19-
# permissions:
20-
# contents: write
21-
# pull-requests: write
22-
# repository-projects: write
23-
24-
steps:
25-
- name: Check out Git repository
26-
uses: actions/checkout@v4
27-
with:
28-
fetch-depth: 0
29-
30-
- name: Read package version
31-
uses: ZvonimirSun/read-package-version-actions@v2
32-
id: package-version
33-
34-
- name: Get Latest Release Version
35-
id: get-latest-release
36-
uses: pozetroninc/github-action-get-latest-release@v0.8.0
37-
with:
38-
repository: ${{ github.repository }}
39-
# token: ${{ secrets.GITHUB_TOKEN }}
40-
# excludes: draft
41-
# uses: InsonusK/get-latest-release@v1.1.0
42-
# with:
43-
# myToken: ${{ secrets.GITHUB_TOKEN }}
44-
# exclude_types: 'draft'
45-
46-
- name: Compare versions and increment if needed
47-
id: compare-versions
48-
run: |
49-
PACKAGE_VERSION="${{ steps.package-version.outputs.version }}"
50-
GITHUB_RELEASE_VERSION="${{ steps.get-latest-release.outputs.release }}"
51-
# Strip leading 'v' if present
52-
GITHUB_RELEASE_VERSION="${GITHUB_RELEASE_VERSION#v}"
53-
echo "Package version: $PACKAGE_VERSION"
54-
echo "GitHub release version: $GITHUB_RELEASE_VERSION"
55-
if [ "$PACKAGE_VERSION" = "$GITHUB_RELEASE_VERSION" ]; then
56-
VERSION_MATCH=true
57-
else
58-
VERSION_MATCH=false
59-
fi
60-
echo "Versions are equal: $VERSION_MATCH"
61-
echo "VERSION_MATCH=${VERSION_MATCH}" >> $GITHUB_ENV
62-
echo "VERSION_MATCH=${VERSION_MATCH}" >> $GITHUB_OUTPUT
63-
exit 0
64-
65-
- name: Create a pull request with version bump if needed
66-
if: ${{ steps.compare-versions.outputs.VERSION_MATCH == 'true' }}
67-
uses: r7kamura/bump-request@v0.5.0
68-
with:
69-
release_type: 'patch'
13+
# version_checker:
14+
# runs-on: ubuntu-latest
15+
16+
# outputs:
17+
# VERSION_MATCH: ${{ steps.compare-versions.outputs.VERSION_MATCH }}
18+
19+
# # permissions:
20+
# # contents: write
21+
# # pull-requests: write
22+
# # repository-projects: write
23+
24+
# steps:
25+
# - name: Check out Git repository
26+
# uses: actions/checkout@v4
27+
# with:
28+
# fetch-depth: 0
29+
30+
# - name: Read package version
31+
# uses: ZvonimirSun/read-package-version-actions@v2
32+
# id: package-version
33+
34+
# - name: Get Latest Release Version
35+
# id: get-latest-release
36+
# uses: pozetroninc/github-action-get-latest-release@v0.8.0
37+
# with:
38+
# repository: ${{ github.repository }}
39+
# # token: ${{ secrets.GITHUB_TOKEN }}
40+
# # excludes: draft
41+
# # uses: InsonusK/get-latest-release@v1.1.0
42+
# # with:
43+
# # myToken: ${{ secrets.GITHUB_TOKEN }}
44+
# # exclude_types: 'draft'
45+
46+
# - name: Compare versions and increment if needed
47+
# id: compare-versions
48+
# run: |
49+
# PACKAGE_VERSION="${{ steps.package-version.outputs.version }}"
50+
# GITHUB_RELEASE_VERSION="${{ steps.get-latest-release.outputs.release }}"
51+
# # Strip leading 'v' if present
52+
# GITHUB_RELEASE_VERSION="${GITHUB_RELEASE_VERSION#v}"
53+
# echo "Package version: $PACKAGE_VERSION"
54+
# echo "GitHub release version: $GITHUB_RELEASE_VERSION"
55+
# if [ "$PACKAGE_VERSION" = "$GITHUB_RELEASE_VERSION" ]; then
56+
# VERSION_MATCH=true
57+
# else
58+
# VERSION_MATCH=false
59+
# fi
60+
# echo "Versions are equal: $VERSION_MATCH"
61+
# echo "VERSION_MATCH=${VERSION_MATCH}" >> $GITHUB_ENV
62+
# echo "VERSION_MATCH=${VERSION_MATCH}" >> $GITHUB_OUTPUT
63+
# exit 0
64+
65+
# - name: Create a pull request with version bump if needed
66+
# if: ${{ steps.compare-versions.outputs.VERSION_MATCH == 'true' }}
67+
# uses: r7kamura/bump-request@v0.5.0
68+
# with:
69+
# release_type: 'patch'
7070

7171
release:
72-
needs: version_checker
72+
# needs: version_checker
7373
runs-on: ${{ matrix.os }}
7474

7575
strategy:

0 commit comments

Comments
 (0)