diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..ec3e3e5 --- /dev/null +++ b/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +# Description + +Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. + +# Click Up ticket / Github Issue / Discuss Thread + +If you have please include the ID / URL of the thread. + +## Type of change + +Please select options that are relevant. + +- [ ] Issue +- [ ] Enhancement +- [ ] Maintenance +- [ ] Feture request \ No newline at end of file diff --git a/README.md b/README.md index 4fe3410..07388fd 100644 --- a/README.md +++ b/README.md @@ -88,4 +88,9 @@ You can share your Step or step version with the [bitrise CLI](https://github.co 1. Then run: `bitrise run share-this-step` to share the step (version) you specified in the `envs` 1. Send the Pull Request, as described in the logs of `bitrise run share-this-step` -That's all ;) \ No newline at end of file +That's all ;) + +## Trigger a new release + +- __merge every code changes__ to the `master` branch +- __push the new version tag__ to the `master` branch diff --git a/bitrise.yml b/bitrise.yml index 86e6fba..d5a9d34 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -35,51 +35,3 @@ workflows: #!/usr/bin/env bash set -ex stepman audit --step-yml ./step.yml - - # ---------------------------------------------------------------- - # --- workflows to create Release - create-release: - steps: - - script: - title: - inputs: - - content: | - #!/usr/bin/env bash - set -e - export CI=true - releaseman create --version $BITRISE_STEP_VERSION - - share-this-step: - envs: - # if you want to share this step into a StepLib - - MY_STEPLIB_REPO_FORK_GIT_URL: $MY_STEPLIB_REPO_FORK_GIT_URL - - BITRISE_STEP_ID: $BITRISE_STEP_ID - - BITRISE_STEP_VERSION: $BITRISE_STEP_VERSION - - BITRISE_STEP_GIT_CLONE_URL: $BITRISE_STEP_GIT_CLONE_URL - description: |- - If this is the first time you try to share a Step you should - first call: $ bitrise share - This will print you a guide, and information about how Step sharing - works. Please read it at least once! - As noted in the Step sharing guide you'll have to fork the - StepLib you want to share this step into. Once you're done with forking - the repository you should set your own fork's git clone URL - in the `.bitrise.secrets.yml` file, or here in the `envs` section, - as the value of the `MY_STEPLIB_REPO_FORK_GIT_URL` environment. - You're now ready to share this Step, just make sure that - the `BITRISE_STEP_ID` and `BITRISE_STEP_VERSION` - environments are set to the desired values! - To share this Step into a StepLib you can just run: $ bitrise run share-this-step - Once it finishes the only thing left is to actually create a Pull Request, - the way described in the guide printed at the end of the process. - before_run: - - audit-this-step - steps: - - script: - inputs: - - content: |- - #!/usr/bin/env bash - set -ex - bitrise share start -c "${MY_STEPLIB_REPO_FORK_GIT_URL}" - bitrise share create --stepid "${BITRISE_STEP_ID}" --tag "${BITRISE_STEP_VERSION}" --git "${BITRISE_STEP_GIT_CLONE_URL}" - bitrise share finish diff --git a/release_config.yml b/release_config.yml deleted file mode 100644 index f4f4ec6..0000000 --- a/release_config.yml +++ /dev/null @@ -1,12 +0,0 @@ -release: - development_branch: master - release_branch: master -changelog: - path: CHANGELOG.md - content_template: |- - {{range .ContentItems}}### {{.EndTaggedCommit.Tag}} ({{.EndTaggedCommit.Date.Format "2006 Jan 02"}}) - {{range .Commits}}* [{{firstChars .Hash 7}}] {{.Message}} - {{end}} - {{end}} - header_template: '## Changelog (Current version: {{.Version}})' - footer_template: 'Updated: {{.CurrentDate.Format "2006 Jan 02"}}' \ No newline at end of file diff --git a/step.yml b/step.yml index fb5878c..826320c 100644 --- a/step.yml +++ b/step.yml @@ -4,9 +4,6 @@ description: "Starts the given workflows in the same app" website: https://github.com/bitrise-steplib/bitrise-step-build-router-start source_code_url: https://github.com/bitrise-steplib/bitrise-step-build-router-start support_url: https://github.com/bitrise-steplib/bitrise-step-build-router-start/issues -host_os_tags: - - osx-10.10 - - ubuntu-16.04 type_tags: - utility @@ -29,6 +26,8 @@ inputs: To acquire a `Personal Access Token` for your user, sign in with that user on [bitrise.io](https://bitrise.io), go to your `Account Settings` page, and select the [Security tab](https://www.bitrise.io/me/profile#/security) on the left side. is_required: true + is_expand: true + is_sensitive: true - workflows: opts: title: Workflows