Skip to content

Commit

Permalink
prepare new release
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipsevortex committed May 6, 2024
1 parent 293d7bf commit ffc94e8
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 2.2.3 / 2024-05-06

## What's Changed
* Release/2.2.2 by @eclipsevortex in https://github.com/eclipsevortex/SubVortex/pull/36
* Add unit tests for resync miners by @eclipsevortex in https://github.com/eclipsevortex/SubVortex/pull/38
* implement auto upgrade by @eclipsevortex in https://github.com/eclipsevortex/SubVortex/pull/40
* isolate wandb by @eclipsevortex in https://github.com/eclipsevortex/SubVortex/pull/41


**Full Changelog**: https://github.com/eclipsevortex/SubVortex/compare/v2.2.2...v2.2.3

## 2.2.2 / 2024-04-25

**Full Changelog**: https://github.com/eclipsevortex/SubVortex/compare/v2.2.1...v2.2.2
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.2
2.2.3
146 changes: 146 additions & 0 deletions scripts/release/release-2.2.3/RELEASE-2.2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
This guide provides step-by-step instructions for the release 2.2.3.

Previous Release: 2.2.2

<br />

---

- [Validator](#validators)
- [Rollout Process](#validator-rollout-process)
- [Rollback Process](#validator-rollback-process)
- [Miner](#miner)
- [Rollout Process](#miner-rollout-process)
- [Rollback Process](#miner-rollback-process)
- [Additional Resources](#additional-resources)
- [Troubleshooting](#troubleshooting)

---

<br />

# Validator

## Rollout Process <a id="validator-rollout-process"></a>

1. **Upgrade Subnet**: Fetch the remote tags
```bash
git fetch --tags --force
```

Then, checkout the new release tag
```bash
git checkout tags/v2.2.3
```

Finally, install the dependencies

```bash
pip install -r requirements.txt
pip install -e .
```

2. **Restart validator**: Restart your validator to take the new version

```bash
pm2 restart validator-7
```

3. **Check logs**: Check the validator logs to see if you see some `New Block`
```bash
pm2 logs validator-7
```

<br />

## Rollback Process <a id="validator-rollback-process"></a>

If any issues arise during or after the rollout, follow these steps to perform a rollback:

1. **Downgrade Subnet**: Checkout the previous release tag
```bash
git checkout tags/v2.2.2
```

Then, install the dependencies

```bash
pip install -r requirements.txt
pip install -e .
```

2. **Restart validator**: Restart your validator to take the new version

```bash
pm2 restart validator-7
```

3. **Check logs**: Check the validator logs to see if you see some `New Block`
```bash
pm2 logs validator-7
```

<br />

# Miner

## Rollout Process <a id="miner-rollout-process"></a>

1. **Upgrade Subnet**: Fetch the remote tags
```bash
git fetch --tags --force
```

Then, checkout the new release tag
```bash
git checkout tags/v2.2.3
```

Finally, install the dependencies

```bash
pip install -r requirements.txt
pip install -e .
```

2. **Restart validator**: Restart your validator to take the new version

```bash
pm2 restart miner-7
```

3. **Check logs**: Check the validator logs to see if you see some `New Block`
```bash
pm2 logs miner-7
```

## Rollback Process <a id="miner-rollback-process"></a>

1. **Downgrade Subnet**: Checkout the previous release tag
```bash
git checkout tags/v2.2.2
```

Then, install the dependencies

```bash
pip install -r requirements.txt
pip install -e .
```

2. **Restart validator**: Restart your validator to take the new version

```bash
pm2 restart miner-7
```

3. **Check logs**: Check the validator logs to see if you see some `New Block`
```bash
pm2 logs miner-7
```

<br />

# Additional Resources

For any further assistance or inquiries, please contact [**SubVortex Team**](https://discord.com/channels/799672011265015819/1215311984799653918)
2 changes: 1 addition & 1 deletion subnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __lt__(self, other):
)


__version__ = "2.2.2"
__version__ = "2.2.3"
version = SubnetVersion.from_string(__version__)
__spec_version__ = version.to_spec_version()

Expand Down

0 comments on commit ffc94e8

Please sign in to comment.