Created
March 24, 2019 23:38
-
-
Save xotahal/1038ab54c41c4e08da72d669956b2337 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lane :publish do |options| | |
# Test if environment is set up correctly | |
# (node installed, token for publishing, etc.) | |
verify | |
# Go through the GIT history and finds out what is the next version | |
# If there is nothing to release it won't publish anything | |
next unless analyze_commits | |
# Building | |
build_npm | |
# publish | |
publish_npm | |
# Release notes | |
notes = conventional_changelog | |
# Tag | |
push_git_tag | |
# Create a new github release for the tag | |
set_github_release(notes) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment