From 2eee7863bc65a448be22be83c9f23d5d227928e1 Mon Sep 17 00:00:00 2001 From: mohnoor94 Date: Mon, 15 Jan 2024 16:02:58 +0300 Subject: [PATCH] fix: update post-release actions --- dist/CHANGELOG.md | 6 --- dist/package.json | 96 ---------------------------------------- scripts/update-assets.sh | 6 --- 3 files changed, 108 deletions(-) delete mode 100644 dist/CHANGELOG.md delete mode 100644 dist/package.json diff --git a/dist/CHANGELOG.md b/dist/CHANGELOG.md deleted file mode 100644 index f39a8e6..0000000 --- a/dist/CHANGELOG.md +++ /dev/null @@ -1,6 +0,0 @@ -## [1.8.3](https://github.com/ExpediaGroup/spec-transformer/compare/v1.8.2...v1.8.3) (2024-01-15) - - -### Bug Fixes - -* update post-release actions ([a9659f9](https://github.com/ExpediaGroup/spec-transformer/commit/a9659f9dc23aadfb0aa5afd697b3a311cfb593e4)) diff --git a/dist/package.json b/dist/package.json deleted file mode 100644 index e1c33d4..0000000 --- a/dist/package.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "@expediagroup/spec-transformer", - "version": "1.8.3", - "description": "API Spec Transformer", - "repository": { - "type": "git", - "url": "https://github.com/ExpediaGroup/spec-transformer.git" - }, - "main": "index.js", - "types": "index.d.ts", - "bin": { - "lib": "index.js", - "cli": "cli.js" - }, - "scripts": { - "add-headers": "scripts/add-headers.sh", - "build": "rm -rf dist && npx tsc --pretty && rm -rf dist/test && cp package.json dist/package.json && cp README.md dist/README.md && cp LICENSE dist/LICENSE && cp CONTRIBUTING.md dist/CONTRIBUTING.md", - "start": "ts-node index.ts", - "test": "jest", - "semantic-release": "semantic-release" - }, - "keywords": [ - "openapi", - "api", - "specifications", - "transformer", - "specs", - "mapping" - ], - "author": "Expedia Group ", - "contributors": [ - "'Mohammad Noor' AbuKhleif (https://github.com/mohnoor94)", - "Osama Salman (https://github.com/osama-salman99)" - ], - "publishConfig": { - "access": "public" - }, - "license": "Apache-2.0", - "dependencies": { - "commander": "11.1.0", - "js-yaml": "4.1.0", - "openapi-to-postmanv2": "4.18.0", - "openapi3-ts": "4.2.1" - }, - "devDependencies": { - "@semantic-release/changelog": "6.0.3", - "@semantic-release/commit-analyzer": "11.1.0", - "@semantic-release/exec": "6.0.3", - "@semantic-release/git": "10.0.1", - "@semantic-release/github": "9.2.6", - "@semantic-release/npm": "11.0.2", - "@semantic-release/release-notes-generator": "12.1.0", - "@types/jest": "29.5.11", - "@types/js-yaml": "4.0.9", - "@types/node": "20.11.0", - "@types/openapi-to-postmanv2": "3.2.4", - "conventional-changelog-conventionalcommits": "7.0.2", - "jest": "29.7.0", - "prettier": "3.1.1", - "semantic-release": "22.0.12", - "ts-jest": "29.1.1", - "ts-node": "10.9.2", - "typescript": "5.3.3" - }, - "prettier": { - "singleQuote": true, - "printWidth": 120 - }, - "jest": { - "preset": "ts-jest", - "testEnvironment": "node", - "collectCoverage": true, - "coverageReporters": [ - "json", - "text", - "lcov", - "clover", - "json-summary" - ], - "testMatch": [ - "**/test/**/*.test.ts" - ], - "coverageThreshold": { - "global": { - "statements": 90, - "branches": 90, - "functions": 90, - "lines": 90 - } - } - }, - "bugs": { - "url": "https://github.com/ExpediaGroup/spec-transformer/issues" - }, - "homepage": "https://github.com/ExpediaGroup/spec-transformer#readme" -} diff --git a/scripts/update-assets.sh b/scripts/update-assets.sh index 6f7dddb..04097e5 100644 --- a/scripts/update-assets.sh +++ b/scripts/update-assets.sh @@ -17,12 +17,6 @@ cp CHANGELOG.md ../CHANGELOG.md cp package.json ../package.json cd .. rm -rf dist - -git config --global user.name "eg-oss-ci" -git config --global user.email "oss@expediagroup.com" -git config --global credential.helper "store --file=$HOME/.git-credentials" -echo "https://github.com:${GH_TOKEN}@github.com" > $HOME/.git-credentials - git pull git add CHANGELOG.md package.json dist git commit --amend --no-edit