We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33d68f0 commit 1e06895Copy full SHA for 1e06895
.github/workflows/release.yml
@@ -57,8 +57,16 @@ jobs:
57
env:
58
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
59
60
+ - name: Set version name
61
+ run: echo "version=(git cliff --bumped-version)" >> $GITHUB_ENV
62
+
63
- name: 🛠️ Run Build
64
run: cargo build -p pgt_cli --release --target ${{ matrix.config.target }}
65
+ # Strip all debug symbols from the resulting binaries
66
+ RUSTFLAGS: "-C strip=symbols -C codegen-units=1"
67
+ # Inline the version in the CLI binary
68
+ PGT_VERSION: ${{ env.version }}
69
70
71
# windows is a special snowflake too, it saves binaries as .exe
72
- name: 👦 Name the Binary
0 commit comments