Skip to content

Commit 27d1138

Browse files
committed
v4 dev release as a separate workflow
1 parent 21a5f6f commit 27d1138

File tree

4 files changed

+51
-8
lines changed

4 files changed

+51
-8
lines changed

.github/workflows/dev-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: V4 DEV Release
1+
name: BETA Release
22
on:
33
push:
44
branches:
5-
- v4-dev
5+
- dev
66

77
jobs:
88
build:
@@ -18,7 +18,7 @@ jobs:
1818
run: npm i
1919

2020
- name: Update the package version
21-
if: github.ref == 'refs/heads/v4-dev'
21+
if: github.ref == 'refs/heads/dev'
2222
run: node scripts/update-package-version.js $GITHUB_RUN_ID
2323

2424
- name: Update version number for telemetry
@@ -30,8 +30,8 @@ jobs:
3030
- name: Run build
3131
run: npm run build
3232

33-
- name: Publish v4 dev release
34-
run: npm publish --tag v4 --access public
35-
if: github.ref == 'refs/heads/v4-dev'
33+
- name: Publish beta release
34+
run: npm publish --tag next --access public
35+
if: github.ref == 'refs/heads/dev'
3636
env:
3737
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}

.github/workflows/v4-dev-release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: V4 DEV Release
2+
on:
3+
push:
4+
branches:
5+
- v4-dev
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: 16
15+
registry-url: 'https://registry.npmjs.org'
16+
17+
- name: Install npm dependencies
18+
run: npm i
19+
20+
- name: Update the package version
21+
if: github.ref == 'refs/heads/v4-dev'
22+
run: node scripts/update-package-version.js $GITHUB_RUN_ID
23+
24+
- name: Update version number for telemetry
25+
run: npm run versionUpdater
26+
27+
- name: Create/update the missing localization keys
28+
run: npm run localization
29+
30+
- name: Run build
31+
run: npm run build
32+
33+
- name: Publish v4 dev release
34+
run: npm publish --tag v4 --access public
35+
if: github.ref == 'refs/heads/v4-dev'
36+
env:
37+
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- `ModernTaxonomyPicker`: can't find term when UI is in language not supported by term store [#1573](https://github.com/pnp/sp-dev-fx-controls-react/issues/1573)
1616
- `AdaptiveCardHost`: Add null check for adaptive card elements [#1574](https://github.com/pnp/sp-dev-fx-controls-react/pull/1574)
1717
- `ControlsTestWebPart`: Updated the ControlsTestWebPart to show the controls filtered by control type [#1547](https://github.com/pnp/sp-dev-fx-controls-react/pull/1547)
18+
- `fast-serve`: Fast-serve updated to the latest version and serve warnings fixed [#1589](https://github.com/pnp/sp-dev-fx-controls-react/pull/1589)
19+
- `DynamicForm`: DynamicForm Number min max [#1585](https://github.com/pnp/sp-dev-fx-controls-react/pull/1585)
1820

1921
### Fixes
2022

@@ -30,10 +32,11 @@
3032
- `PeoplePicker`: Shows wrong value in Dynamic Form when null is provided [#1421](https://github.com/pnp/sp-dev-fx-controls-react/issues/1421)
3133
- `DynamicForm`: Error on save when clearing person from Person or Group field and leaving it blank [#1578](https://github.com/pnp/sp-dev-fx-controls-react/issues/1578)
3234
- `DynamicForm`: Number validation is not working, if the field is set to minimum and maximum value [#1571](https://github.com/pnp/sp-dev-fx-controls-react/issues/1571)
35+
- `DynamicForm`: controls are shown with error messages even if the values are assigned [#1133](https://github.com/pnp/sp-dev-fx-controls-react/issues/1586)
3336

3437
### Contributors
3538

36-
Special thanks to our contributors (in alphabetical order): [Andreas Omayrat](https://github.com/andreasomayrat), [Ayoub](https://github.com/ayoubqrt), [Desislav](https://github.com/DMichev), [Guido Zambarda](https://github.com/GuidoZam), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Patrik Hellgren](https://github.com/patrikhellgren), [Rico van de Ven](https://github.com/RicoNL), [Sharepointalist](https://github.com/sharepointalist), [Zhephyr](https://github.com/Zhephyr54).
39+
Special thanks to our contributors (in alphabetical order): [Andreas Omayrat](https://github.com/andreasomayrat), [Ayoub](https://github.com/ayoubqrt), [Desislav](https://github.com/DMichev), [Guido Zambarda](https://github.com/GuidoZam), [João Mendes](https://github.com/joaojmendes), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Patrik Hellgren](https://github.com/patrikhellgren), [Rico van de Ven](https://github.com/RicoNL), [Sergei Sergeev](https://github.com/s-KaiNet), [Sharepointalist](https://github.com/sharepointalist), [Zhephyr](https://github.com/Zhephyr54).
3740

3841
## 3.14.0
3942

docs/documentation/docs/about/release-notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- `ModernTaxonomyPicker`: can't find term when UI is in language not supported by term store [#1573](https://github.com/pnp/sp-dev-fx-controls-react/issues/1573)
1616
- `AdaptiveCardHost`: Add null check for adaptive card elements [#1574](https://github.com/pnp/sp-dev-fx-controls-react/pull/1574)
1717
- `ControlsTestWebPart`: Updated the ControlsTestWebPart to show the controls filtered by control type [#1547](https://github.com/pnp/sp-dev-fx-controls-react/pull/1547)
18+
- `fast-serve`: Fast-serve updated to the latest version and serve warnings fixed [#1589](https://github.com/pnp/sp-dev-fx-controls-react/pull/1589)
19+
- `DynamicForm`: DynamicForm Number min max [#1585](https://github.com/pnp/sp-dev-fx-controls-react/pull/1585)
1820

1921
### Fixes
2022

@@ -30,10 +32,11 @@
3032
- `PeoplePicker`: Shows wrong value in Dynamic Form when null is provided [#1421](https://github.com/pnp/sp-dev-fx-controls-react/issues/1421)
3133
- `DynamicForm`: Error on save when clearing person from Person or Group field and leaving it blank [#1578](https://github.com/pnp/sp-dev-fx-controls-react/issues/1578)
3234
- `DynamicForm`: Number validation is not working, if the field is set to minimum and maximum value [#1571](https://github.com/pnp/sp-dev-fx-controls-react/issues/1571)
35+
- `DynamicForm`: controls are shown with error messages even if the values are assigned [#1133](https://github.com/pnp/sp-dev-fx-controls-react/issues/1586)
3336

3437
### Contributors
3538

36-
Special thanks to our contributors (in alphabetical order): [Andreas Omayrat](https://github.com/andreasomayrat), [Ayoub](https://github.com/ayoubqrt), [Desislav](https://github.com/DMichev), [Guido Zambarda](https://github.com/GuidoZam), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Patrik Hellgren](https://github.com/patrikhellgren), [Rico van de Ven](https://github.com/RicoNL), [Sharepointalist](https://github.com/sharepointalist), [Zhephyr](https://github.com/Zhephyr54).
39+
Special thanks to our contributors (in alphabetical order): [Andreas Omayrat](https://github.com/andreasomayrat), [Ayoub](https://github.com/ayoubqrt), [Desislav](https://github.com/DMichev), [Guido Zambarda](https://github.com/GuidoZam), [João Mendes](https://github.com/joaojmendes), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Patrik Hellgren](https://github.com/patrikhellgren), [Rico van de Ven](https://github.com/RicoNL), [Sergei Sergeev](https://github.com/s-KaiNet), [Sharepointalist](https://github.com/sharepointalist), [Zhephyr](https://github.com/Zhephyr54).
3740

3841
## 3.14.0
3942

0 commit comments

Comments
 (0)