Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixing versioning workflow #3296

Merged
merged 50 commits into from
Oct 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
60747ec
chore: trying to build here and deploy on netlify
signorecello Oct 25, 2023
7281c09
chore: trying to build here and deploy on netlify
signorecello Oct 25, 2023
4943156
Merge branch 'master' into zpedro/docs_release_please
signorecello Oct 25, 2023
be1f4c1
chore: trying to build here and deploy on netlify
signorecello Oct 25, 2023
a6cf52d
chore: setting up for version cut on release
signorecello Oct 25, 2023
824ff7c
cant test the workflow if not on master, wtf
signorecello Oct 25, 2023
9c8485a
cant test the workflow if not on master, wtf
signorecello Oct 25, 2023
e9e54ba
cant test the workflow if not on master, wtf
signorecello Oct 25, 2023
f4047dd
fixing static imports
signorecello Oct 25, 2023
3f38183
cant test the workflow if not on master, wtf
signorecello Oct 25, 2023
a3353be
cant test the workflow if not on master, wtf
signorecello Oct 25, 2023
1b87780
cant test the workflow if not on master, wtf
signorecello Oct 25, 2023
231aa95
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
e447b5c
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
044dfbf
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
9a48488
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
38f27bc
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
0051bcc
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
93dfc5c
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
112e460
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
f043f4a
cant test the workflow if not on master, wtf
signorecello Oct 26, 2023
1a12612
Merge remote-tracking branch 'origin' into zpedro/docs_release_please
signorecello Oct 26, 2023
eb24452
testing publish workflow
signorecello Oct 26, 2023
84603de
testing publish workflow
signorecello Oct 26, 2023
728e6f3
getting somewhere...
signorecello Oct 26, 2023
72864ea
getting somewhere...
signorecello Oct 26, 2023
7a310c9
getting somewhere...
signorecello Oct 26, 2023
20afc69
getting somewhere...
signorecello Oct 26, 2023
7529dbf
getting somewhere...
signorecello Oct 26, 2023
58508c4
getting somewhere...
signorecello Oct 26, 2023
f8073bf
getting somewhere...
signorecello Oct 26, 2023
ea20f4f
getting somewhere...
signorecello Oct 26, 2023
c48eb3c
another strategy
signorecello Oct 28, 2023
42188af
another strategy
signorecello Oct 28, 2023
d1b99bd
another strategy
signorecello Oct 28, 2023
6ad32a8
another strategy
signorecello Oct 28, 2023
a4d027e
another strategy
signorecello Oct 28, 2023
9db2ec8
another strategy
signorecello Oct 28, 2023
6d5c931
another strategy
signorecello Oct 28, 2023
14f1a2c
preparing to finish...
signorecello Oct 28, 2023
5363ba9
Merge remote-tracking branch 'origin' into zpedro/docs_release_please
signorecello Oct 28, 2023
cd9883a
preparing to finish...
signorecello Oct 28, 2023
59fb827
preparing to finish...
signorecello Oct 28, 2023
d406e7d
preparing to finish...
signorecello Oct 28, 2023
53e8569
Merge branch 'master' into zpedro/docs_release_please
signorecello Oct 28, 2023
fe6f1ff
adding back removed files to make PR more readable
signorecello Oct 28, 2023
eb41a78
chore(docs): fixing a potential problem in case we wanted to release …
signorecello Oct 29, 2023
c0b0e69
Merge branch 'master' into zpedro/docs_release_please
signorecello Oct 29, 2023
61f6ad5
Merge branch 'master' into zpedro/docs_release_please
signorecello Oct 29, 2023
ddcc221
Merge branch 'master' into zpedro/docs_release_please
signorecello Oct 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cant test the workflow if not on master, wtf
  • Loading branch information
signorecello committed Oct 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0051bcc91c9820505e24f2f81ae7f849bd3562af
5 changes: 5 additions & 0 deletions docs/scripts/setStable.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const fs = require('fs');
const path = require('path');

const process = require('process');
const console = require('console');

function main() {
const configFile = path.join('docusaurus.config.js');

@@ -13,8 +16,10 @@ function main() {
console.log('No stable version provided');
process.exit(1);
}
console.log(newVersion);
const updatedContent = configContent.replace(/lastVersion: '[^']+'/, `lastVersion: '${newVersion}'`);

console.log(updatedContent);
// Write the updated content back
fs.writeFileSync(configFile, updatedContent, 'utf8');
}
Loading