Compare commits
2 commits
72b3bc46e5
...
250354e271
Author | SHA1 | Date | |
---|---|---|---|
250354e271 | |||
dfc7d7a702 |
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ jobs:
|
||||||
|
|
||||||
- name: Get variables
|
- name: Get variables
|
||||||
run: |
|
run: |
|
||||||
echo "CRATE=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==1{print}')" >> "$GITHUB_ENV"
|
CRATE=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==1{print}')
|
||||||
|
echo "CRATE=$CRATE" >> "$GITHUB_ENV"
|
||||||
echo "CRATE_VERSION=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==2{print}')" >> "$GITHUB_ENV"
|
echo "CRATE_VERSION=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==2{print}')" >> "$GITHUB_ENV"
|
||||||
CL_PATH="CHANGELOG.md"
|
CL_PATH="CHANGELOG.md"
|
||||||
if [[ "$CRATE" != "rustypipe" ]]; then CL_PATH="$CRATE/$CL_PATH"; fi
|
if [[ "$CRATE" != "rustypipe" ]]; then CL_PATH="$CRATE/$CL_PATH"; fi
|
||||||
|
|
Loading…
Reference in a new issue