Skip to content

Commit 1a21759

Browse files
clydinfilipesilva
authored andcommitted
build: remove unused release scripts
With the migration to the common dev-infra tooling for releases, the existing release scripts are now unused and can be removed.
1 parent 9fbd166 commit 1a21759

File tree

9 files changed

+1
-519
lines changed

9 files changed

+1
-519
lines changed

lib/registries.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

scripts/README.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -21,64 +21,10 @@ Flags:
2121
- `--local`. Enable building packages with dependencies to their pack files (instead of versions).
2222
- `--snapshot`. Enable building packages with dependencies to their snapshot repos (instead of versions).
2323

24-
## changelog
25-
26-
Creates a changelog draft in GitHub releases.
27-
28-
Flags:
29-
30-
- `--from=<git-ref>`. **[Required]** The git ref (SHA, tag or ref) to start the CHANGELOG at.
31-
- `--to=<tag>`. **[Required]** The git ref (tag) to end the CHANGELOG at. This will also be used to name the changelog
32-
on GitHub.
33-
- `--githubToken=<string>`. The github token to update the changelog with. If this is not specified, the release notes
34-
will be outputted to stdout.
35-
- `--githubTokenFile=<path>`. Reads the githubToken from a file instead of the command line (for CI).
36-
- `--stdout`. Skip the whole release note process and output the markdown to stdout instead.
37-
3824
## packages
3925

4026
Outputs a JSON containing all informations from the package script (main files, repo names, versions, deps, etc).
4127

42-
## publish
43-
44-
Builds and published the packages to npm.
45-
46-
Flags:
47-
48-
- `--tag=<name>`. Publishes under the npm dist-tag specified.
49-
50-
## release
51-
52-
General version and release manager.
53-
54-
Usage:
55-
56-
```bash
57-
$ devkit-admin release
58-
```
59-
60-
Outputs all the packages, their versions and their hashes. By default, excludes private packages that are only used in
61-
the repo (such as private schematics). With the `--verbose` flag will output the private packages as well.
62-
63-
By adding a command, the `release` script will update the version;
64-
65-
- `major-beta`. Set the version of packages to the next beta of the next major.
66-
- `major-rc`. Set the version of packages to the next RC of the next major.
67-
- `major`. Increment the major version of packages.
68-
- `minor-beta`. Set the version of packages to the next beta of the next minor.
69-
- `minor-rc`. Set the version of packages to the next RC of the next minor.
70-
- `minor`. Increment the minor version of packages.
71-
- `patch`. Increment the patch version of packages.
72-
73-
By default, the release script will increment versions of packages that have changed. Use the `--force` flag to change
74-
the version of all packages, even those who haven't changed.
75-
76-
e.g.
77-
78-
```bash
79-
$ devkit-admin release minor-beta --force
80-
```
81-
8228
## snapshots
8329

8430
Create and upload snapshots. This is used in CI.

scripts/changelog.ts

Lines changed: 0 additions & 172 deletions
This file was deleted.

scripts/dist-tag.ts

Lines changed: 0 additions & 78 deletions
This file was deleted.

scripts/publish.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { logging, tags } from '@angular-devkit/core';
1010
import { spawnSync } from 'child_process';
1111
import * as semver from 'semver';
1212
import { packages } from '../lib/packages';
13-
import { wombat } from '../lib/registries';
1413
import build from './build';
1514

1615
export interface PublishArgs {
@@ -128,7 +127,7 @@ export default async function (args: PublishArgs, logger: logging.Logger) {
128127
}
129128

130129
// If no registry is provided, the wombat proxy should be used.
131-
const registry = args.registry ?? wombat;
130+
const registry = args.registry ?? 'http://localhost:4873/';
132131

133132
logger.info('Building...');
134133
await build({}, logger.createChild('build'));

scripts/templates/changelog-breaking-changes.ejs

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)