@@ -63,13 +63,8 @@ git push --set-upstream origin fix/not-a-feature
6363Note: Only required for setting up mono-repo versioning.
6464
6565<dl >
66- <dt >mono-repo-mode: [bool]</dt >
67- <dd>Enable semver matching against any tag structure that includes a valid semver string.<br>
68- Eg: '<product-name>_<semver>'<br>
69- <i>Required:</i> false<br>
70- <i>Default:</i> false</dd>
7166 <dt >mono-repo-product-name: [string]</dt >
72- <dd>The product name to match against.<br>
67+ <dd>Enables mono-repo mode. The product name to match against.<br>
7368 Eg: 'bob', would match the tags like 'bob_1.2.3'.<br>
7469 <i>Required:</i> if mono-repo-mode: true<br>
7570 <i>Default:</i> ''</dd>
@@ -113,7 +108,7 @@ Below is a valid workflow utilizing this action. If you wanted to extend it to d
113108 - uses: actions/checkout@v3
114109 - name: Run GitOps Automatic Versioning Action
115110 id: gitops-autover
116- uses: AlexAtkinson/[email protected] .0 111+ uses: AlexAtkinson/[email protected] .1 117112 - name: Verify Outputs
118113 run: |
119114 NEW_VERSION=${{ steps.gitops-autover.outputs.new-version }}
@@ -125,9 +120,8 @@ To make use of the mono-repo support, simply add a block for the director you wi
125120
126121 - name: Run GitOps Automatic Versioning Action
127122 id: gitops-autover
128- uses: AlexAtkinson/[email protected] .0 123+ uses: AlexAtkinson/[email protected] .1 129124 with:
130- mono-repo-mode: true
131125 mono-repo-product-name: bob
132126
133127This results in outputs like:
@@ -189,7 +183,7 @@ Additionally, this repo uses its own action for versioning, so feel free to inve
189183 echo "PRODUCT_NAME_LOWER=$PRODUCT_NAME_LOWER" >> $GITHUB_OUTPUT
190184 - name: GitOps Automatic Versioning
191185 id: gitops-autover
192- uses: AlexAtkinson/[email protected] .0 186+ uses: AlexAtkinson/[email protected] .1 193187 build:
194188 name: "Build"
195189 runs-on: ubuntu-latest
0 commit comments