Skip to content

Commit

Permalink
Adds tagging instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Dec 27, 2024
1 parent 0ebc72f commit 377f9bf
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,18 @@ For the best experience for your reader you should assume that no more than 250
git push origin master
```

5. Create a new GitHub Release:
- Create a new tag following semantic versioning (e.g., `v1.0.0`)
- Set release title (e.g., "Version 1.0.0")
- Copy the changelog entry from readme.txt to the release description
- Publish release
5. Create and push a new tag:
```bash
# Create a new tag
git tag -a vX.Y.Z -m "Version X.Y.Z"

# Push the tag
git push origin vX.Y.Z

# If you need to delete a tag locally and remotely (e.g., if made a mistake):
git tag -d vX.Y.Z # Delete local tag
git push --delete origin vX.Y.Z # Delete remote tag
```

6. The GitHub Actions workflow will automatically:
- Run tests across supported PHP versions
Expand Down

0 comments on commit 377f9bf

Please sign in to comment.