Compare commits

...
3 Commits
4 changed files with 13 additions and 6 deletions
+7
View File
@@ -1,5 +1,12 @@
# Changelog # Changelog
## [1.11.1](https://github.com/SethCohen/github-release-to-discord/compare/v1.11.0...v1.11.1) (2022-08-24)
### Bug Fixes
* fixed ReferenceError on require vs import ([233db9c](https://github.com/SethCohen/github-release-to-discord/commit/233db9c33f9059cbe008e61acf7f321e671f352c))
## [1.11.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.10.1...v1.11.0) (2022-08-24) ## [1.11.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.10.1...v1.11.0) (2022-08-24)
+3 -3
View File
@@ -1,6 +1,6 @@
const core = require('@actions/core'); import core from '@actions/core';
const github = require('@actions/github'); import github from '@actions/github';
import fetch from 'node-fetch' import fetch from 'node-fetch';
async function getContext () { async function getContext () {
const payload = github.context.payload const payload = github.context.payload
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "github-release-to-discord", "name": "github-release-to-discord",
"version": "1.11.0", "version": "1.11.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "github-release-to-discord", "name": "github-release-to-discord",
"version": "1.11.0", "version": "1.11.1",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@actions/core": "^1.9.1", "@actions/core": "^1.9.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "github-release-to-discord", "name": "github-release-to-discord",
"version": "1.11.0", "version": "1.11.1",
"description": "Github Action that parses a release and sends it to a Discord channel", "description": "Github Action that parses a release and sends it to a Discord channel",
"type": "module", "type": "module",
"main": "index.js", "main": "index.js",