Compare commits
2 commits
250354e271
...
72b3bc46e5
Author | SHA1 | Date | |
---|---|---|---|
72b3bc46e5 | |||
9e805d71ad |
1 changed files with 1 additions and 2 deletions
|
@ -13,8 +13,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get variables
|
- name: Get variables
|
||||||
run: |
|
run: |
|
||||||
CRATE=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==1{print}')
|
echo "CRATE=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==1{print}')" >> "$GITHUB_ENV"
|
||||||
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