Skip to content

Commit

Permalink
feat: setup release for ogdev
Browse files Browse the repository at this point in the history
initial setup for ogdev official semantic release action
  • Loading branch information
OgDev-01 committed May 15, 2024
1 parent b51f10a commit dabdc21
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
19 changes: 9 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: '@open-sauced/release'
author: '0-vortex'
description: 'Run @open-sauced/release on a repo'
name: "@ogdev/release"
author: "Ogdev-01"
description: "Run @ogdev/release on a repo"
outputs:
release-tag:
description: 'The tag that was released on success'
description: "The tag that was released on success"
release-version:
description: 'The version that was released on success'
description: "The version that was released on success"
branding:
icon: 'package'
color: 'yellow'
icon: "package"
color: "yellow"
runs:
using: 'docker'
image: 'docker://ghcr.io/open-sauced/release:2.4.0'

using: "docker"
image: "docker://ghcr.io/ogdev-01/release:2.4.0"
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "@open-sauced/release",
"version": "2.4.0",
"name": "@ogdev/release",
"version": "1.0.0",
"license": "MIT",
"files": [
"release.config.js"
],
"main": "release.config.js",
"author": "TED Vortex <ted.vortex@gmail.com>",
"author": "Ogbonna Sunday <oliviamegan11@gmail.com>",
"engines": {
"node": ">=18",
"npm": ">=8"
},
"bugs": "https://github.com/open-sauced/release/issues",
"bugs": "https://github.com/ogdev-01/release/issues",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/open-sauced/release.git"
"url": "git+ssh://git@github.com/ogdev-01/release.git"
},
"peerDependencies": {
"semantic-release": ">=21.0.0"
Expand Down
4 changes: 2 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const addPlugin = (plugin, options) => {
return releaseConfig.plugins.push([plugin, options]);
};

!GIT_COMMITTER_NAME && (process.env.GIT_COMMITTER_NAME = "open-sauced[bot]");
!GIT_COMMITTER_EMAIL && (process.env.GIT_COMMITTER_EMAIL = "63161813+open-sauced[bot]@users.noreply.github.com");
!GIT_COMMITTER_NAME && (process.env.GIT_COMMITTER_NAME = "ogdev-01[bot]");
!GIT_COMMITTER_EMAIL && (process.env.GIT_COMMITTER_EMAIL = "63161813+ogdev-01[bot]@users.noreply.github.com");

try {
const authorName = execSync(`git log -1 --pretty=format:%an ${GITHUB_SHA}`, { encoding: "utf8", stdio: "pipe" });
Expand Down

0 comments on commit dabdc21

Please sign in to comment.