We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8336275 commit 491efb2Copy full SHA for 491efb2
3 files changed
.github/workflows/deploy.yml
@@ -2,8 +2,8 @@ name: deploy
2
3
on:
4
push:
5
- tags:
6
- - '*'
+ branches:
+ - main
7
8
jobs:
9
build:
Makefile
@@ -1,4 +1,8 @@
1
+BLOCKFAST_VERS := $(shell date '+%Y-%m-%d') / $(shell git rev-parse --short HEAD)
+export BLOCKFAST_VERS
+
build::
+ echo $(BLOCKFAST_VERS)
cargo build
cargo clippy --all
cargo fmt --all
src/utils.rs
@@ -77,7 +77,7 @@ pub(crate) use log;
77
name = "Blockfast",
78
author = "pierre dubouilh <pldubouilh@gmail.com>",
79
arg_required_else_help = true,
80
- version,
+ version = option_env!("BLOCKFAST_VERS").unwrap_or("unknown"),
81
long_about = None,
82
about = "
83
Blockfast - block internets scanners fast 🍶
0 commit comments