Skip to content

Commit

Permalink
Merge pull request #5 from takuma-ru/fix/fix-code-comment
Browse files Browse the repository at this point in the history
🔥 Delete comments
  • Loading branch information
takuma-ru authored Jun 7, 2024
2 parents 051b2b7 + 81c6458 commit 8e9114f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release Drafter

on:
push:
# push:
# branches to consider in the event; optional, defaults to all
# branches:
# - master
Expand Down
10 changes: 0 additions & 10 deletions packages/release/src/action/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,13 @@ export const releaseAction = async (options: unknown) => {

const { newVersion, packageName } = packageVersionUp({ level, pre });

// Build the package
cmd(BUILD_CMD);

// Commit and push the changes
cmd(`git add ${join(__dirname, PACKAGE_JSON_PATH)}`);
cmd(`git commit -m "Release version ${newVersion}"`);
cmd(`git push origin ${branchName}`);

// Publish the package
cmd(`pnpm publish --filter ${packageName} --no-git-checks`);

// Output the branch name
// console.log(branchName);
/**
* branch_name=$(node release.js major)
* echo "The release was made on branch: $branch_name"
*/
} catch (error) {
if (error instanceof z.ZodError) {
error.errors.map((error) => {
Expand Down

0 comments on commit 8e9114f

Please sign in to comment.