File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,5 @@ udroid_download=$(
16
16
| tail -n1 | cut -d / -f 3
17
17
)
18
18
19
- version=" V${udroid_version}${BUILD_TYPE} R$(( ${udroid_download: -1} + 1 )) "
20
-
21
19
# export version to github environment
22
- echo " VERSIONTAG=$version " >> " $GITHUB_ENV "
20
+ echo " VERSIONTAG=V ${udroid_version}${BUILD_TYPE} R $(( ${udroid_download : -1} + 1 )) " >> " $GITHUB_ENV "
Original file line number Diff line number Diff line change 21
21
git submodule update
22
22
- name : Build tarballs
23
23
run : |
24
+ sudo bash build.sh -s impish -v raw -a all
25
+ sudo bash build.sh -s jammy -v raw -a all
24
26
sudo bash build.sh -s kinetic -v raw -a all
25
27
26
28
- name : upload artifacts
39
41
with :
40
42
name : raw-tarballs
41
43
- name : Compute release tag
42
- run : sudo bash .github/scripts/compute-release-tag.sh
44
+ run : |
45
+ udroid_version=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
46
+ https://github.com/RandomCoderOrg/ubuntu-on-android \
47
+ | tail -n1 | cut -d / -f 3 | cut -d v -f 2- )
48
+ udroid_download=$(
49
+ git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
50
+ https://github.com/RandomCoderOrg/udroid-download \
51
+ | tail -n1 | cut -d / -f 3
52
+ )
53
+ echo "VERSIONTAG=V${udroid_version}${BUILD_TYPE}R$((${udroid_download: -1} + 1))" >> $GITHUB_ENV
43
54
- name : Generate release notes
44
- run : sudo bash .github/scripts/generate-release-notes.sh
55
+ run : sudo bash /home/runner/work/udroid-download/udroid-download/ .github/scripts/generate-release-notes.sh
45
56
- name : Create Release
46
57
id : create_release
47
58
uses : actions/create-release@v1
61
72
assets+=("-a" "$asset")
62
73
done
63
74
tag_name="${VERSIONTAG}"
64
- hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
75
+ hub release edit -F release.md "${assets[@]}" -m "$tag_name" "$tag_name"
65
76
env :
66
77
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments