bee-san / bee-san/RustScan

RustScan built from 2.4.1 tag reports version 2.3.0 due to outdated version in Cargo.toml

Aperta
#800 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
20.4k
Fork
1.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**
When building RustScan from source using the 2.4.1 git tag, the resulting binary reports version 2.3.0 instead of 2.4.1.

**To Reproduce**
Steps to reproduce the behavior:
1. Clone the repository:
```bash
git clone https://github.com/bee-san/RustScan.git
cd RustScan
```
2. Checkout the 2.4.1 tag:
```bash
git checkout 2.4.1
```
3. Build the project:
```bash
cargo build --release
```
4. Check the version of the built binary:
```bash
./target/release/rustscan -V
```
5. The output is:
```
rustscan 2.3.0
```

**Expected behavior**
The binary built from the 2.4.1 tag should report version 2.4.1, not 2.3.0.

**Screenshots**
Not applicable.

**Desktop (please complete the following information):**
- OS: macOS 14.7.6 (23H626)
- Rust version: rustc 1.86.0 (05f9846f8 2025-03-31)
- Git version: git version 2.39.5 (Apple Git-154)

**Additional context**
This issue affects all builds from source, including Homebrew, which builds RustScan from the 2.4.1 tag and thus also produces a binary reporting version 2.3.0.
In the `Cargo.toml` file on the 2.4.1 tag, the version is still set to 2.3.0.
Please update the version in `Cargo.toml` before tagging and releasing new versions to avoid such inconsistencies.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con Cargo.toml sul tag 2.4.1 e confronta la sua versione con il nome del tag. Esegui la compilazione con cargo build --release, quindi esegui ./target/release/rustscan -V; è completato quando il binario riporta la versione 2.4.1.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
build-system, cli
Tipo di issue
Bug
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.