Skip to content

Commit aebdbce

Browse files
chore(main): release 2.0.0 (#9)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bcd00fd commit aebdbce

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.0.0"
2+
".": "2.0.0"
33
}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## [2.0.0](https://github.com/sgoudham/update-git-submodules/compare/v1.0.0...v2.0.0) (2024-08-26)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* update to latest commit by default ([#8](https://github.com/sgoudham/update-git-submodules/issues/8))
9+
10+
### Features
11+
12+
* add output `updated` ([88470bd](https://github.com/sgoudham/update-git-submodules/commit/88470bd3309a936af0848ba99495c2dc1d21c765))
13+
* update to latest commit by default ([#8](https://github.com/sgoudham/update-git-submodules/issues/8)) ([88470bd](https://github.com/sgoudham/update-git-submodules/commit/88470bd3309a936af0848ba99495c2dc1d21c765))
14+
315
## 1.0.0 (2024-08-25)
416

517

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ their submodules to the latest git tag instead of the latest commit.
2424
<!-- x-release-please-start-version -->
2525

2626
```yaml
27-
- uses: sgoudham/update-git-submodules@v1.0.0
27+
- uses: sgoudham/update-git-submodules@v2.0.0
2828
with:
2929
# The path to the '.gitmodules' file.
3030
#
@@ -105,15 +105,15 @@ the path is `ports/vscode-icons`, the dynamic outputs will be:
105105
```yaml
106106
- name: Update Submodules
107107
id: submodules
108-
uses: sgoudham/update-git-submodules@v1.0.0
108+
uses: sgoudham/update-git-submodules@v2.0.0
109109
```
110110

111111
### Update all submodules to the latest tag
112112

113113
```yaml
114114
- name: Update Submodules
115115
id: submodules
116-
uses: sgoudham/update-git-submodules@v1.0.0
116+
uses: sgoudham/update-git-submodules@v2.0.0
117117
with:
118118
strategy: "tag"
119119
```
@@ -123,7 +123,7 @@ the path is `ports/vscode-icons`, the dynamic outputs will be:
123123
```yaml
124124
- name: Update Submodule
125125
id: submodules
126-
uses: sgoudham/update-git-submodules@v1.0.0
126+
uses: sgoudham/update-git-submodules@v2.0.0
127127
with:
128128
submodules: ports/vscode-icons
129129
```
@@ -146,7 +146,7 @@ steps:
146146
147147
- name: Update Submodules
148148
id: submodules
149-
uses: sgoudham/update-git-submodules@v1.0.0
149+
uses: sgoudham/update-git-submodules@v2.0.0
150150
151151
- name: Create PR
152152
uses: peter-evans/create-pull-request@v6
@@ -170,7 +170,7 @@ steps:
170170
171171
- name: Update Submodules
172172
id: submodules
173-
uses: sgoudham/update-git-submodules@v1.0.0
173+
uses: sgoudham/update-git-submodules@v2.0.0
174174
175175
- name: Create PR
176176
uses: peter-evans/create-pull-request@v6
@@ -209,7 +209,7 @@ jobs:
209209
210210
- name: Update Submodules
211211
id: submodules
212-
uses: sgoudham/update-git-submodules@v1.0.0
212+
uses: sgoudham/update-git-submodules@v2.0.0
213213
with:
214214
submodules: ${{ matrix.submodule }}
215215
strategy: ${{ matrix.strategy }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "update-git-submodules",
33
"description": "Update git submodule(s) to their latest commit or tag",
4-
"version": "1.0.0",
4+
"version": "2.0.0",
55
"author": "Goudham <[email protected]>",
66
"private": true,
77
"homepage": "https://github.com/sgoudham/update-git-submodules",

0 commit comments

Comments
 (0)