You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**NOTE:** This stage will create a new release with the main branch code irrespective of the test-execution status hence before creating a new release via this stage make sure all stakeholders are aware before the release.
664
-
665
-
- Follow the below steps to create a manual release and publish the relevant packages:
666
-
667
-
- Go to "Actions" tab of your Github repo link.
668
-
669
-
- On the left side, you'd have **"publish-untested"** workflow mentioned. Click on this stage.
670
-
671
-
- Click on **"Run Workflow"**.
672
-
673
-
- Select the branch from which you to create the tag.
674
-
675
-
- Ideally, all our final code would be in the main branch. Hence, in majority of cases the branch would be "main" only.
676
-
677
-
- Provide the version in "Tag to release" textbox.
678
-
679
-
- Example, if you are releasing a new version v4.0.1 of your add-on, just enter **"4.0.1"** (just the dot delimited digits, do not prefix it with "v").
680
-
681
-
- Click on **"Run Workflow"**.
682
-
683
-
- Wait for a couple minutes for the build to be generated and published.
684
-
685
-
- Once the above stage completes, go to "Releases" section of your repo.
686
-
687
-
- Edit the release and write the relevant release notes you want to for your bugfix/ hotfix release and save the changes.
Once Splunk AppInspect team releases AppInspect CLI - we need to make sure that everyone runs the latest version.
4
+
5
+
## Steps
6
+
7
+
### Merge splunk/appinspect-cli-action PR
8
+
9
+
- go to the PR [example](https://github.com/splunk/appinspect-cli-action/pull/127)
10
+
- check [release notes](https://dev.splunk.com/enterprise/docs/relnotes/relnotes-appinspectcli/whatsnew/) for the new version add release notes link in the PR comment
11
+
- make sure that the pipeline is green
12
+
- if not - investigate why and report and issue to the AppInspect team
13
+
- determine which version of `appinspect-cli-action` needs to be released based on the [splunk-appinspect release](https://dev.splunk.com/enterprise/docs/relnotes/relnotes-appinspectcli/whatsnew/)
14
+
- if it is a bug fix release (E.g. v3.6.0 > v3.6.1) - change "chore" to "fix" in the title of the PR and skip [update section](#update-splunkaddonfactory-workflow-addon-release)
15
+
- if it is a minor release (E.g v3.6.0 > v3.7.0) - change "chore" to "feat" in the title of the PR
16
+
- get review from the team
17
+
- "Squash and merge" the PR
18
+
- wait for the release
19
+
- make sure that the proper version of the action is released
- create a PR in this repository with a new version of the action ([example PR](https://github.com/splunk/addonfactory-workflow-addon-release/pull/247))
24
+
- make sure that PR is towards `main` branch
25
+
- make sure that the pipeline is green
26
+
- determine which version of `appinspect-cli-action` needs to be released based on the PR
27
+
- if it is a bug fix or dependecnies update - "fix" in the title of the PR
28
+
- if it is a feature release - "feat" in the title of the PR
29
+
- attach a link to a test run of reusable workflow
30
+
- get review from the team
31
+
- "Squash and merge" the PR
32
+
- backport this change to develop right away ([example PR](https://github.com/splunk/addonfactory-workflow-addon-release/pull/239))
33
+
- create a PR from `main` to `develop`
34
+
- get review from the team
35
+
- "Merge pull request" the PR
36
+
37
+
### Notify teams
38
+
39
+
- notify development teams in #ta-engineering-dev-all Slack channel (look for the previous announcements to see the format)
0 commit comments