Skip to content

Commit 3c8e61a

Browse files
committed
fix: workflow issues
1 parent b694659 commit 3c8e61a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ jobs:
5858
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
5959

6060
- name: Set version name
61-
run: echo "version=(git cliff --bumped-version)" >> $GITHUB_ENV
61+
run: echo "version=$(git cliff --bumped-version)" >> $GITHUB_ENV
6262

6363
- name: 🛠️ Run Build
6464
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 }}
65+
env:
66+
# Strip all debug symbols from the resulting binaries
67+
RUSTFLAGS: "-C strip=symbols -C codegen-units=1"
68+
# Inline the version in the CLI binary
69+
PGT_VERSION: ${{ env.version }}
6970

7071

7172
# windows is a special snowflake too, it saves binaries as .exe

0 commit comments

Comments
 (0)