affilnost / affilnost/angular5-example-shopping-app

Improve deploying to GHPages

未关闭
#3 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
TypeScript
星标
126
派生
80
PR 合并指标
30 天内没有已合并 PR

描述

## What we have now

We have now script to deploy the project to "Github Pages":
`npm run deploy-to-ghpages`
See more at https://github.com/angular-schule/angular-cli-ghpages

## What we need
What we need now is to be able to deploy only the last release (the last release tag).
For example, it would be nice to specify the commit hash to deploy, something like this:
`npm run deploy-to-ghpages -commit [commit_hash] `
or to specify the app version to deploy, like this:
`npm run deploy-to-ghpages -version [version_number] `
Or maybe just to deploy somehow always the last version. It depends on what will be easier to make.

**The main goal** is that no "unreleased" version is going to be deployed.

Also the README.md should be updated accordingly.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。