Skip to content

Commit

Permalink
remove more test stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dleviminzi committed Sep 26, 2024
1 parent c6df795 commit 0537977
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/release-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,9 @@ jobs:
}).format(date);
}
const isRelease = context.eventName === 'release';
let release = {};
if (isRelease) {
release = context.payload.release;
} else {
// For testing this action
release = {
name: 'test v1.0.0',
body: '## What\'s Changed\n* Feat: Add index for task by @jsun-m in https://github.com/beam-cloud/beta9/pull/540\n* Fix: stop container endpoint by @dleviminzi in https://github.com/beam-cloud/beta9/pull/546\n* Fix: Don\'t scale up stopped serves by @dleviminzi in https://github.com/beam-cloud/beta9/pull/539\n* Feat: Ignore patterns like git by @dleviminzi in https://github.com/beam-cloud/beta9/pull/538\n* Fix: Hanging build container by @luke-lombardi in https://github.com/beam-cloud/beta9/pull/549\n* Fix: Remove serve lock when connection is lost for task queue serve by @dleviminzi in https://github.com/beam-cloud/beta9/pull/550\n* Revert "ignore patterns like git (#538)" by @dleviminzi in https://github.com/beam-cloud/beta9/pull/551\n\n**Full Changelog**: https://github.com/beam-cloud/beta9/compare/gateway-0.1.200...gateway-0.1.201',
created_at: '2024-09-25'
}
}
const release = context.payload.release;
const lines = release.body.split('\n');
console.log(lines);
const feats = [];
const fixes = [];
for (const line of lines) {
Expand All @@ -76,7 +59,6 @@ jobs:
}
}
// format feats into a single bulleted string
const featsString = feats.map(feat => `- ${feat}`).join('\n');
const fixesString = fixes.map(fix => `- ${fix}`).join('\n');
Expand Down

0 comments on commit 0537977

Please sign in to comment.