Skip to content

Commit 9ee66c1

Browse files
committed
chore: update version to 3.3.1.0 across all relevant files
1 parent 4bcf336 commit 9ee66c1

11 files changed

Lines changed: 51 additions & 25 deletions

File tree

.github/workflows/build-arch.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
- dev
99
release:
1010
types: [created]
11+
workflow_dispatch:
12+
inputs:
13+
release_tag:
14+
description: 'Launch tag to upload assets to (ex: v3.3.1.0)'
15+
required: true
16+
default: 'v3.3.1.0'
1117

1218
jobs:
1319
build-arch:
@@ -126,7 +132,8 @@ jobs:
126132
retention-days: 30
127133

128134
- name: Upload to GitHub Releases (Only Releases)
129-
if: github.event_name == 'release'
135+
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
130136
uses: softprops/action-gh-release@v1
131137
with:
138+
tag_name: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.ref_name }}
132139
files: "catnip-${{ env.VERSION }}.pkg.tar.zst"

.github/workflows/build-deb.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
- dev
99
release:
1010
types: [created]
11+
workflow_dispatch:
12+
inputs:
13+
release_tag:
14+
description: 'Launch tag to upload assets to (ex: v3.3.1.0)'
15+
required: true
16+
default: 'v3.3.1.0'
1117

1218
jobs:
1319
build-deb:
@@ -75,7 +81,8 @@ jobs:
7581
retention-days: 30
7682

7783
- name: Upload to GitHub Releases (Only Releases)
78-
if: github.event_name == 'release'
84+
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
7985
uses: softprops/action-gh-release@v1
8086
with:
87+
tag_name: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.ref_name }}
8188
files: "catnip-${{ env.VERSION }}.deb"

.github/workflows/build-mac.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
#- dev
99
release:
1010
types: [created]
11+
workflow_dispatch:
12+
inputs:
13+
release_tag:
14+
description: 'Launch tag to upload assets to (ex: v3.3.1.0)'
15+
required: true
16+
default: 'v3.3.1.0'
1117

1218
jobs:
1319
build-mac:
@@ -67,7 +73,8 @@ jobs:
6773
retention-days: 30
6874

6975
- name: Upload to GitHub Releases (Only Releases)
70-
if: github.event_name == 'release'
76+
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
7177
uses: softprops/action-gh-release@v1
7278
with:
79+
tag_name: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.ref_name }}
7380
files: "catnip/${{ env.PACKAGE_NAME }}"

.github/workflows/build-windows.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ on:
1313
version:
1414
description: 'Version to build'
1515
required: true
16-
default: '3.3.0.0'
16+
default: '3.3.1.0'
17+
release_tag:
18+
description: 'Tag del release al que subir los assets (ej: v3.3.1.0)'
19+
required: false
20+
default: 'v3.3.1.0'
1721

1822
jobs:
1923
build-windows:
@@ -88,13 +92,14 @@ jobs:
8892
path: catnip/dist/CatSniffer-Setup.exe
8993

9094
- name: Rename Installer for Release
91-
if: github.event_name == 'release'
95+
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
9296
working-directory: catnip
9397
run: |
9498
Copy-Item dist/CatSniffer-Setup.exe "dist/catnip-${{ env.VERSION }}.exe"
9599
96100
- name: Upload to GitHub Releases (Only Releases)
97-
if: github.event_name == 'release'
101+
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
98102
uses: softprops/action-gh-release@v1
99103
with:
104+
tag_name: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.ref_name }}
100105
files: catnip/dist/catnip-${{ env.VERSION }}.exe

catnip/InstallationGuide.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,20 +106,20 @@ uname -m
106106
#### For Intel Macs(x86_64)
107107
```bash
108108
# Download the Intel package
109-
curl -LO https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.0.0-x86_64.pkg
109+
curl -LO https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.1.0-x86_64.pkg
110110

111111
# Install the package
112-
sudo installer -allowUntrusted -pkg catnip-3.3.0.0-x86_64.pkg -target /
112+
sudo installer -allowUntrusted -pkg catnip-3.3.1.0-x86_64.pkg -target /
113113
```
114114

115115
#### For Apple Silicon Macs (ARM64)
116116

117117
```bash
118118
# Download the ARM64 package
119-
curl -LO https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.0.0-arm64.pkg
119+
curl -LO https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.1.0-arm64.pkg
120120

121121
# Install the package
122-
sudo installer -allowUntrusted -pkg catnip-3.3.0.0-arm64.pkg -target /
122+
sudo installer -allowUntrusted -pkg catnip-3.3.1.0-arm64.pkg -target /
123123
```
124124

125125
### Post-Installation (macOS)
@@ -149,10 +149,10 @@ sudo catnip setup-env
149149

150150
```bash
151151
# Download the .deb package
152-
wget https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.0.0.deb
152+
wget https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.1.0.deb
153153

154154
# Install the package
155-
sudo dpkg -i catnip-3.3.0.0.deb
155+
sudo dpkg -i catnip-3.3.1.0.deb
156156

157157
# Install dependencies (if any are missing)
158158
sudo apt-get install -f
@@ -172,10 +172,10 @@ catnip --version
172172

173173
```bash
174174
# Download the package
175-
wget https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.0.0.pkg.tar.zst
175+
wget https://github.com/ElectronicCats/catsniffer-tools/releases/download/latest/catnip-3.3.1.0.pkg.tar.zst
176176

177177
# Install the package
178-
sudo pacman -U catnip-3.3.0.0.pkg.tar.zst
178+
sudo pacman -U catnip-3.3.1.0.pkg.tar.zst
179179

180180
# Verify installation
181181
catnip --version

catnip/build_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ cp -R dist/lora_extcap "${PKG_ROOT}${INSTALL_LOCATION}/"
6565
ln -sf "${INSTALL_LOCATION}/catnip/catnip" "${PKG_ROOT}${BIN_DIR}/catnip"
6666
ln -sf "${INSTALL_LOCATION}/lora_extcap/lora_extcap" "${PKG_ROOT}${BIN_DIR}/lora_extcap"
6767

68-
# Extract version from catnip.py or setup.py (assuming 3.3.0.0 from setup.py)
68+
# Extract version from catnip.py or setup.py (assuming 3.3.1.0 from setup.py)
6969
VERSION=$(grep -E "version=" setup.py | cut -d'"' -f2)
7070
if [ -z "$VERSION" ]; then
7171
VERSION="1.0.0"

catnip/installer/catsniffer_installer.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[Setup]
55
AppName=CatSniffer Tools
6-
AppVersion=3.3.0.0
6+
AppVersion=3.3.1.0
77
AppPublisher=Electronic Cats
88
AppPublisherURL=https://github.com/ElectronicCats/CatSniffer-Tools
99
AppSupportURL=https://github.com/ElectronicCats/CatSniffer-Tools

catnip/modules/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
from pathlib import Path
4343

4444
# APP Information
45-
VERSION_NUMBER = "3.3.0.0"
45+
VERSION_NUMBER = "3.3.1.0"
4646
COMPANY = "Electronic Cats - PWNLAB"
4747
_FUNNY_PHRASES = [
4848
"Catching packets, not mice.",
@@ -87,7 +87,7 @@
8787
"prompt": Style(color="magenta", bold=True),
8888
}
8989

90-
__version__ = "3.3.0.0"
90+
__version__ = "3.3.1.0"
9191

9292
wireshark = Wireshark()
9393
console = Console()

catnip/modules/fw_update.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
6. If device not detected: instruct user to enter Boot Mode manually
1515
1616
Compatibility example:
17-
Software: 3.3.0.0 (from CatSniffer-Tools repo)
17+
Software: 3.3.1.0 (from CatSniffer-Tools repo)
1818
Firmware: v3.1.0.0 (from CatSniffer-Firmware repo)
1919
2020
Shell commands used:
@@ -49,7 +49,7 @@
4949
console = Console()
5050

5151
# Tool version — must match cli.py VERSION_NUMBER
52-
TOOL_VERSION = "3.3.0.0"
52+
TOOL_VERSION = "3.3.1.0"
5353

5454
# GitHub API URL for the latest CatSniffer-Tools software release
5555
GITHUB_TOOLS_RELEASE_URL = (
@@ -70,14 +70,14 @@ def get_latest_software_version() -> Optional[str]:
7070
ElectronicCats/CatSniffer-Tools repository.
7171
7272
Returns:
73-
Version string (e.g., '3.3.0.0') stripped of 'v' prefix, or None on error
73+
Version string (e.g., '3.3.1.0') stripped of 'v' prefix, or None on error
7474
"""
7575
try:
7676
response = requests.get(GITHUB_TOOLS_RELEASE_URL, timeout=5)
7777
response.raise_for_status()
7878
data = response.json()
7979
tag = data.get("tag_name", "")
80-
# Strip 'v' prefix if present (e.g., "v3.3.0.0" → "3.3.0.0")
80+
# Strip 'v' prefix if present (e.g., "v3.3.1.0" → "3.3.1.0")
8181
return tag.lstrip("v") if tag else None
8282
except requests.exceptions.ConnectionError:
8383
logger.warning("[!] No internet connection — cannot check software version")
@@ -96,7 +96,7 @@ def is_software_up_to_date(local_version: str, remote_version: str) -> bool:
9696
9797
Args:
9898
local_version: Local tool version (e.g., '3.0.0')
99-
remote_version: Remote release version (e.g., '3.3.0.0')
99+
remote_version: Remote release version (e.g., '3.3.1.0')
100100
101101
Returns:
102102
True if local version matches (or is newer than) remote, False otherwise

catnip/packaging/debian/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: catnip
2-
Version: 3.3.0.0
2+
Version: 3.3.1.0
33
Section: utils
44
Priority: optional
55
Architecture: all

0 commit comments

Comments
 (0)