Skip to content

Commit eab5a58

Browse files
committed
updating to new version of auto
1 parent ee5a238 commit eab5a58

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
branches:
77
- master
88

9-
env:
10-
# Pin to v10.28.0, which (as of 2021-05-25) is the latest version with assets
11-
AUTO_VERSION: v10.29.3
12-
139
jobs:
1410
auto-release:
1511
runs-on: ubuntu-latest
@@ -33,12 +29,12 @@ jobs:
3329

3430
- name: Download auto
3531
run: |
36-
auto_download_url="$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/tags/$AUTO_VERSION | jq -r '.assets[] | select(.name == "auto-linux.gz") | .browser_download_url')"
32+
auto_download_url="$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/latest | jq -r '.assets[] | select(.name == "auto-linux.gz") | .browser_download_url')"
3733
wget -O- "$auto_download_url" | gunzip > ~/auto
3834
chmod a+x ~/auto
3935
4036
- name: Create release
4137
run: |
4238
~/auto shipit -vv
4339
env:
44-
GH_TOKEN: ${{ secrets.AUTO_USER_TOKEN }}
40+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)