Skip to content

Commit 510ebc0

Browse files
committed
remove release post-processing
1 parent fc74c57 commit 510ebc0

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

.github/workflows/package-release-workflow.yml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -69,37 +69,4 @@ jobs:
6969
uses: simatic-ax/actions/apax-publish@v3
7070
with:
7171
registries: |
72-
https://npm.pkg.github.com
73-
74-
# [Optional]: The following steps are not mandatory and are highly depending on your release workflow
75-
# - name: Update Changelog and Create PR
76-
# env:
77-
# GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }} # Hier das neue PAT
78-
# RELEASE_BODY: ${{ github.event.release.body }}
79-
# RELEASE_TAG: ${{ github.event.release.tag_name }}
80-
# RELEASE_DATE: ${{ github.event.release.published_at }}
81-
# TARGET_BRANCH: ${{ github.event.release.target_commitish }}
82-
# run: |
83-
# chmod +x .github/workflows/update-changelog-pr.sh
84-
# .github/workflows/update-changelog-pr.sh
85-
86-
- name: Update major version tag
87-
if: ${{ success() }}
88-
run: |
89-
git config --global --add safe.directory "$GITHUB_WORKSPACE"
90-
git config user.name "github-actions[bot]"
91-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
92-
93-
VERSION=${{ github.event.release.tag_name }}
94-
if echo "$VERSION" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then
95-
MAJOR_VERSION="v$(echo $VERSION | cut -d. -f1)"
96-
echo "Updating major version tag: $MAJOR_VERSION"
97-
git push origin :refs/tags/$MAJOR_VERSION || true
98-
git tag -f $MAJOR_VERSION
99-
git push origin $MAJOR_VERSION --force
100-
echo "✅ Major version tag updated successfully"
101-
else
102-
echo "❌ Error: Invalid version format: '$VERSION'"
103-
echo "Expected format: X.Y.Z (e.g., 1.2.3)"
104-
exit 1
105-
fi
72+
https://npm.pkg.github.com

0 commit comments

Comments
 (0)