Skip to content

Commit f816af3

Browse files
authored
chore: re-enable beta versioning on develop (#3500)
## 🎯 Goal Trigger a BREAKING CHANGE for V9. ## πŸ›  Implementation details <!-- Provide a description of the implementation --> ## 🎨 UI Changes <!-- Add relevant screenshots --> <details> <summary>iOS</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> <details> <summary>Android</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> ## πŸ§ͺ Testing <!-- Explain how this change can be tested (or why it can't be tested) --> ## β˜‘οΈ Checklist - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required) - [ ] PR targets the `develop` branch - [ ] Documentation is updated - [ ] New code is tested in main example apps, including all possible scenarios - [ ] SampleApp iOS and Android - [ ] Expo iOS and Android
1 parent 6969c7c commit f816af3

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
# - develop
7+
- develop
88

99
permissions:
1010
id-token: write # for OIDC / npm provenance if you use it

β€Žrelease/next.jsβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ const configPromise = require('./release.config.js');
33

44
const execa = require('execa');
55

6+
const dryRun = true;
7+
68
configPromise.then((config) => {
79
return semanticRelease({
810
...config,
11+
dryRun,
912
branches: [
1013
'main',
1114
{
@@ -18,6 +21,7 @@ configPromise.then((config) => {
1821
// This logics avoid a overflow of next tags in github by removing the last
1922
// tag before pushing the current one for each next release
2023
return (
24+
!dryRun &&
2125
result &&
2226
result.nextRelease.gitTag &&
2327
execa('git', ['ls-remote', 'origin', `refs/tags/${result.lastRelease.gitTag}`])

0 commit comments

Comments
Β (0)