Skip to content

Commit

Permalink
Update README.md for tag '0.2.2' [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and thejcpalma committed Mar 5, 2024
1 parent 85f4598 commit 1ee5cfb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
git tag -d $VERSION
git push --delete origin $VERSION
- name: Update README.md and push with version tag
- name: Update README.md
run: |
VERSION=${GITHUB_REF#refs/tags/}
echo "Tagging updated README.md with '$VERSION'."
Expand All @@ -32,6 +31,11 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add README.md
git commit -m "Update README.md for tag '$VERSION' [skip ci]"
git tag $VERSION
git push origin HEAD:main
git commit -m "Update README.md for tag '$VERSION' [skip ci]" || echo "No changes to commit"
- name: Tag latest commit
run: |
VERSION=${GITHUB_REF#refs/tags/}
git tag -fa $VERSION -m "Update tag '$VERSION' to latest commit"
git push origin $VERSION --force
echo "Pushed tag '$VERSION' to the latest commit."
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
![Docker Pulls](https://img.shields.io/docker/pulls/thejcpalma/palworld-dedicated-server)
![Docker Stars](https://img.shields.io/docker/stars/thejcpalma/palworld-dedicated-server)
![Image Size](https://img.shields.io/docker/image-size/thejcpalma/palworld-dedicated-server/latest)
[![Static Badge](https://img.shields.io/badge/readme-dev-blue?link=https%3A%2F%2Fgithub.com%2Fthejcpalma%2Fpalworld-dedicated-server-docker%2Fblob%2Fmain%2FREADME.md)](https://github.com/thejcpalma/palworld-dedicated-server-docker?tab=readme-ov-file#palworld-dedicated-server-docker)
[![Static Badge](https://img.shields.io/badge/readme-0.2.2-blue?link=https%3A%2F%2Fgithub.com%2Fthejcpalma%2Fpalworld-dedicated-server-docker%2Fblob%2Fmain%2FREADME.md)](https://github.com/thejcpalma/palworld-dedicated-server-docker?tab=readme-ov-file#palworld-dedicated-server-docker)
![Discord](https://img.shields.io/discord/1206023011011141702?logo=discord&label=Discord&link=https%3A%2F%2Fdiscord.gg%2FycanfK9R5B)


Expand Down

0 comments on commit 1ee5cfb

Please sign in to comment.