# Release Instructions

This document outlines the process for releasing a new version of the PhoneStamp for WooCommerce plugin.

## Release Process

1. **Update version numbers** in the following files:
   - `phonestamp.php` (Plugin header and `PHONESTAMP_VERSION` constant)
   - `readme.txt` (Stable tag)
   - `CHANGELOG.md` (Add new version entry)
   - `readme.txt` (Add changelog entry)

2. **Build the plugin** (if needed):
   ```bash
   ./build.sh
   ```

3. **Commit changes**:
   ```bash
   git add .
   git commit -m "Release version X.X.X"
   ```

4. **Sync to WordPress.org SVN**:
   ```bash
   git svn dcommit
   ```

5. **Push to GitHub**:
   ```bash
   git push origin main
   ```

6. **Create and push Git tag**:
   ```bash
   git tag X.X.X
   git push origin X.X.X
   ```

7. **Create SVN tag**:
   ```bash
   git svn tag X.X.X
   ```

## Notes

- Replace `X.X.X` with the actual version number (e.g., `1.0.3`)
- Ensure all changes are tested before releasing
- The `git svn` commands require git-svn to be configured for WordPress.org plugin repository
