Skip to content

Commit 57f0b1d

Browse files
committed
Bug Fix
1 parent 8bbfc30 commit 57f0b1d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/scripts/compute-release-tag.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
resp_uoa = requests.get(API_ENDPOINT_UOA, headers=headers)
1313
Json_data2 = json.loads(resp_uoa.text)
1414

15-
udroid_version = Json_data2[0]['tag_name']
16-
udroid_version = udroid_version.replace("v","")
17-
workType = Json_data2[0]['target_commitish']
18-
15+
uV = Json_data2[0]['tag_name']
16+
# uV = ["v3.1-alpha"][0] # For testing
17+
udroid_version = uV.replace("v","")
1918

2019

2120
API_ENDPOINT_UA="https://api.github.com/repos/RandomCoderOrg/udroid-download/releases"
@@ -30,9 +29,9 @@
3029

3130
BUILD_TYPE="AB"
3231

33-
Latest_release_tag = "V-%s-%s-%s%s%s" % (udroid_version,workType,BUILD_TYPE,RELEASE_TYPE,IterationNumber)
32+
Latest_release_tag = "V-%s-%s%s%s" % (udroid_version,BUILD_TYPE,RELEASE_TYPE,IterationNumber)
3433

3534
with open(GITHUB_ENV_PATH, "a+") as f:
3635
f.write(Latest_release_tag)
3736

38-
# print(Latest_release_tag)
37+
print(Latest_release_tag)

0 commit comments

Comments
 (0)