Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Remove version update step
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGodbehere committed Mar 7, 2024
1 parent c476ac1 commit 5b31bec
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,6 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
update-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update version in package.json
run: |
CURRENT_TAG=${GITHUB_REF#refs/tags/}
echo "Current tag: $CURRENT_TAG"
VERSION="${CURRENT_TAG#v}"
echo "Updating version to: $VERSION"
jq ".version = \"$VERSION\"" package.json > package.json.tmp
mv package.json.tmp package.json
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: Update package.json version
branch: update-version
commit-message: Update package.json version
body: Update the version of `package.json` as part of release process
delete-branch: true
base: main
build:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 5b31bec

Please sign in to comment.