Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh release #698

Merged
merged 5 commits into from
Dec 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,18 @@
"changelog-current": "conventional-changelog -p angular -r 2",
"preversion.linux": "npm run test.all && rimraf ./dist && npm run build.prod",
"version.linux": "npm run changelog && git add -A CHANGELOG.md",
"postversion.linux": "git push && git push --tags && rimraf igo2.zip && cd ./dist/igo2/ && zip -r ../igo2.zip ./* && npm run ghpages",
"postversion.linux": "git push && git push --tags && rimraf igo2.zip && cd ./dist/igo2/ && zip -r ../igo2.zip ./* && npm run ghpages && ghrelease",
"preversion": "npm run test.all && rimraf ./dist && npm run build.prod",
"version": "npm run changelog && git add -A CHANGELOG.md",
"postversion": "git push && git push --tags && rimraf igo2.zip && cd ./dist/igo2/ && tar -a -c -f ../igo2.zip * && npm run ghpages.win",
"postversion": "git push && git push --tags && rimraf igo2.zip && cd ./dist/igo2/ && tar -a -c -f ../igo2.zip * && npm run ghpages.win && ghrelease.win",
"preghpages": "npm run build -- --configuration=github --output-path ./dist/ghpages --base-href /igo2/ && echo \"include: ['_default.json', '_contexts.json', '_base.json']\" > dist/ghpages/_config.yml",
"ghpages": "VERSION=$(node -p -e \"require('./package.json').version\") && npx ngh --dir=dist/ghpages --no-silent=false --message=$VERSION",
"postghpages": "rimraf ./dist/ghpages",
"preghpages.win": "npm run build -- --configuration=github --output-path ./dist/ghpages --base-href /igo2/ && echo include: ['_default.json', '_contexts.json', '_base.json'] > dist/ghpages/_config.yml",
"ghpages.win": "npx ngh --dir=dist/ghpages --no-silent=false --message=%npm_package_version%",
"postghpages.win": "rimraf ./dist/ghpages"
"ghrelease": "VERSION=$(node -p -e \"require('./package.json').version\") && publish-release --owner infra-geo-ouverte --repo igo2 --tag $VERSION --name $VERSION --reuse-release --notes \"$(npm run changelog-current -s)\" --assets dist/igo2.zip",
"preghrelease.win": "rimraf igo2.zip && cd ./dist/igo2/ && tar -a -c -f ../igo2.zip *",
"ghrelease.win": "gh-release -o infra-geo-ouverte -r igo -t %npm_package_version% -n %npm_package_version% -a dist/igo2.zip"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -122,6 +124,7 @@
"conventional-changelog-cli": "^2.0.12",
"eslint": "^7.26.0",
"eslint-plugin-unused-imports": "^1.1.5",
"gh-release": "^6.0.1",
"gulp": "^4.0.0",
"gulp-babel": "^8.0.0",
"jasmine-core": "~3.8.0",
Expand Down