fastlane-plugin-semantic_release icon indicating copy to clipboard operation
fastlane-plugin-semantic_release copied to clipboard

Unable to deploy when no tag is present

Open SpaghettiC0des opened this issue 5 years ago • 4 comments

For context, I did a manual deploy on Google Play and then use Fastlane on Github Actions.

Currently, I don't have any tags present. I'm deploying on android/internal/vX.Y.Z and analyze_commits always evaluate to false.

SpaghettiC0des avatar Oct 08 '20 08:10 SpaghettiC0des

Can you give us more details?

xotahal avatar Oct 08 '20 20:10 xotahal

@xotahal

I have a test repo for Github Actions and Fastlane.

For example, I have the following commits in PR.

chore: boilerplate
fix: add sample component
feat: internal release test

There's no tag present yet, so I trigger a deployment by merging the PR to develop branch. The expected version should be 0.1.1, but I get 0.0.0 and analyze_commits returns false.

The tag format for develop branch is PLATFORM/internal/vx.y.z/BUILD_NUMBER. I tried adding a tag android/internal/0.1.0/14 manually, but still, no luck.

SpaghettiC0des avatar Oct 09 '20 14:10 SpaghettiC0des

@xotahal This is still an issue for me, locally analyze_commits returns true and properly parse the commits, but on CI(github actions), analyze_commits returns false.

EDIT: This is an initial release, no previous tags.

SpaghettiC0des avatar Dec 03 '20 14:12 SpaghettiC0des

@karlmarxlopez cant you pull the repository with tags from CI?

danielgomezrico avatar Nov 17 '21 17:11 danielgomezrico