Compare commits

...
16 Commits
Author SHA1 Message Date
SethCohen b8a34e1c2b Merge pull request #10 from SethCohen/release-please--branches--master--components--release-please-action
chore(master): release 1.9.0
2022-08-24 00:22:05 -04:00
SethCohen 95e1e3916a chore(master): release 1.9.0 2022-08-24 00:21:50 -04:00
SethCohen d9fc7b4fe2 Merge remote-tracking branch 'origin/master' 2022-08-24 00:21:24 -04:00
SethCohen 6cf9efb8f6 feat: updated action description format 2022-08-24 00:21:19 -04:00
SethCohen a85b6a9dbb Merge pull request #9 from SethCohen/release-please--branches--master--components--release-please-action
chore(master): release 1.8.0
2022-08-24 00:18:07 -04:00
SethCohen c7879f8c69 chore(master): release 1.8.0 2022-08-24 00:17:43 -04:00
SethCohen 8cefd5bd3e Merge remote-tracking branch 'origin/master' 2022-08-24 00:17:24 -04:00
SethCohen 9c4c902465 feat: updated action description format 2022-08-24 00:17:20 -04:00
SethCohen d3640c3c29 Merge pull request #8 from SethCohen/release-please--branches--master--components--release-please-action
chore(master): release 1.7.0
2022-08-24 00:16:09 -04:00
SethCohen 1f9e824518 chore(master): release 1.7.0 2022-08-24 00:15:42 -04:00
SethCohen cc060ff5e6 Merge remote-tracking branch 'origin/master' 2022-08-24 00:15:19 -04:00
SethCohen c517936fef feat: updated action description format 2022-08-24 00:15:15 -04:00
SethCohen 3bbff89e48 Merge pull request #7 from SethCohen/release-please--branches--master--components--release-please-action
chore(master): release 1.6.0
2022-08-24 00:10:08 -04:00
SethCohen 4de8705e81 chore(master): release 1.6.0 2022-08-24 00:09:31 -04:00
SethCohen a422d74e1a Merge remote-tracking branch 'origin/master' 2022-08-24 00:09:00 -04:00
SethCohen 7effb69a75 feat: updated action description format 2022-08-24 00:08:56 -04:00
4 changed files with 38 additions and 9 deletions
+28
View File
@@ -1,5 +1,33 @@
# Changelog
## [1.9.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.8.0...v1.9.0) (2022-08-24)
### Features
* updated action description format ([6cf9efb](https://github.com/SethCohen/github-release-to-discord/commit/6cf9efb8f65526de47e335b56163eef55b6b9a1c))
## [1.8.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.7.0...v1.8.0) (2022-08-24)
### Features
* updated action description format ([9c4c902](https://github.com/SethCohen/github-release-to-discord/commit/9c4c90246562bad1531cf41d44d3c037fbf869ee))
## [1.7.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.6.0...v1.7.0) (2022-08-24)
### Features
* updated action description format ([c517936](https://github.com/SethCohen/github-release-to-discord/commit/c517936fefb0119c0055d4d537bad23e647edd44))
## [1.6.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.5.0...v1.6.0) (2022-08-24)
### Features
* updated action description format ([7effb69](https://github.com/SethCohen/github-release-to-discord/commit/7effb69a75fd35dc53ea6dad5f3fa60cbd523ee7))
## [1.5.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.4.0...v1.5.0) (2022-08-24)
+7 -6
View File
@@ -28,14 +28,15 @@ async function run () {
const content = await getContext()
const description = content.body
.replace(/## (.*?)\n/g,function (substring) {
const newString = substring.slice(3)
return `**${newString}**\n`
})
.replace(/### (.*?)\n/g,function (substring) {
const newString = substring.slice(4)
return `**__${newString}__**\n`
const newString = substring.slice(4).replace(/(\r\n|\n|\r)/gm, "")
return `**__${newString}__**`
})
.replace(/## (.*?)\n/g,function (substring) {
const newString = substring.slice(3).replace(/(\r\n|\n|\r)/gm, "")
return `**${newString}**`
})
.replace(/\n\s*\n/g, '\n')
const embedMsg = {
title: `Release ${content.version}`,
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "github-release-to-discord",
"version": "1.5.0",
"version": "1.9.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "github-release-to-discord",
"version": "1.5.0",
"version": "1.9.0",
"license": "ISC",
"dependencies": {
"@actions/core": "^1.9.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "github-release-to-discord",
"version": "1.5.0",
"version": "1.9.0",
"description": "",
"main": "index.js",
"scripts": {