Skip to content

Commit

Permalink
Bump version to 8.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgomesxyz committed Sep 3, 2020
1 parent 94d6fb9 commit a044c6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "esgst",
"version": "8.7.4",
"betaVersion": "8.7.5-beta.4",
"version": "8.8.0",
"betaVersion": "8.8.0",
"title": "Enhanced SteamGifts & SteamTrades (ESGST)",
"description": "A script that adds some cool features to SteamGifts and SteamTrades.",
"author": "rafaelgssa",
Expand Down
7 changes: 4 additions & 3 deletions scripts/generateCommit.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ async function generateCommit() {
const version = bumpVersion(args);
if (args.stable) {
packageJson.version = version;
} else {
packageJson.betaVersion = version;
}
packageJson.betaVersion = version;
fs.writeFileSync(path.join(__dirname, '../package.json'), JSON.stringify(packageJson));

let commitMessage = '';
if (args.issue) {
if (args.stable) {
commitMessage = `Bump version to ${version}`;
} else if (args.issue) {
const issue = await octokit.issues.get({
...defaultParams,
issue_number: args.issue,
Expand Down

0 comments on commit a044c6f

Please sign in to comment.