Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved the docs re. fetching tags #33

Merged
merged 2 commits into from
Nov 1, 2020
Merged

Conversation

mockitoguy
Copy link
Contributor

@mockitoguy mockitoguy commented Oct 31, 2020

Suggested a simpler approach for getting all tags. This approach is simpler and it has an additional benefit: it helps the "shipkit-changelog" plugin get all necessary commits to generate release notes. Related to shipkit/shipkit-changelog#26

Suggested a simpler approach to getting all tags. This approach is simpler and it has an additional benefit: it helps the "shipkit-changelog" plugin get all necessary commits to generate release notes.
README.md Outdated
@@ -31,9 +31,11 @@ version=1.0.*
2. Apply `org.shipkit.shipkit-auto-version` to the root project.

3. Important! When using this plugin on CI make sure that your CI includes tags when making checkout.
For example, when using GitHub actions, you need add something this:
For example, the easiest way to achieve this with GitHub actions is to tweak 'fetch-depth':
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of the scope of changes, but we can use ```yaml here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Updated.

@mockitoguy mockitoguy merged commit 84c60e3 into master Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants