Skip to content

Commit

Permalink
fix: Updated branch config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald Labaj committed Sep 18, 2024
1 parent 9ef25f9 commit 839047e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/upload-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const publishFn = surge().publish();
uploadURL += '-a11y.surge.sh';
break;
case 'public':
if (!prnum && prbranch === 'main') {
if (!prnum && prbranch === 'v5') {
uploadURL = 'https://pf-extensions.surge.sh/';
} else {
uploadURL += '.surge.sh';
Expand Down
6 changes: 4 additions & 2 deletions packages/module/release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
branches: [ 'do-not-delete', { name: 'v5', channel: 'prerelease-v5', range: '5.x' } ],
branches: [
'do-not-delete',
{ name: 'v5', prerelease: true, channel: 'prerelease-v5', range: '5.x' } ],
analyzeCommits: {
preset: 'angular'
},
Expand All @@ -10,5 +12,5 @@ module.exports = {
'@semantic-release/npm'
],
tagFormat: 'prerelease-v${version}',
dryRun: true
dryRun: false
};

0 comments on commit 839047e

Please sign in to comment.