Open
Description
Hi
When I run the applivery
action like this
applivery(
app_token: applivery_api_token,
build_path: aab.path,
)
in a repo that does not contain any git tags, it outputs a couple of fatal lines that don't look very nice in the console:
[16:12:19]: -----------------------
[16:12:19]: --- Step: applivery ---
[16:12:19]: -----------------------
fatal: No names found, cannot describe anything.
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
[16:12:19]: Uploading to Applivery... 🛫
[16:12:22]: Build uploaded succesfully! 💪
+--------------------------------+
| fastlane summary |
+------+-----------+-------------+
| Step | Action | Time (in s) |
+------+-----------+-------------+
| 1 | applivery | 3 |
+------+-----------+-------------+
At first I thought my job failed, but then I realized that the build was actually uploaded successfully.
Looking at the source code the culprit of fatal: No names found, cannot describe anything.
might be this line:
gitTag = `git describe --abbrev=0 --tags`
and the culprit of fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
might be that you try to use this non-existing git tag in the next line, but I haven't been able to easily reproduce this error message locally with the git commands that you are using:
gitTagCommit = `git rev-list -n 1 --abbrev-commit '#{gitTag.strip}'`
Metadata
Metadata
Assignees
Labels
No labels