Skip to content

Commit e31816c

Browse files
authored
Script redundancy cleanup (#2911)
1 parent 72e58c6 commit e31816c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npm-publish-unstable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ jobs:
7070
- name: npm publish
7171
run: |
7272
# set unstable version value
73-
unstable_tag=$(echo "unstable.$(date --utc +%Y%m%d%H%M%S)")
73+
unstable_tag="unstable.$(date --utc +%Y%m%d%H%M%S)"
7474
latest=$(npm view @elastic/elasticsearch --json | jq -r '.["dist-tags"].latest')
7575
next=$(npx -y 'semver@^7.7.0' -i minor "$latest")
76-
unstable_version=$(echo "$next-$unstable_tag")
76+
unstable_version="$next-$unstable_tag"
7777
7878
# overwrite package.json with unstable version value
7979
mv package.json package.json.bak

0 commit comments

Comments
 (0)