Skip to content

Commit 61bc9bf

Browse files
authoredNov 12, 2023
Update master to main (#88)
1 parent d137ca1 commit 61bc9bf

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed
 

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Continuous Integration
33
"on":
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010
schedule:
1111
- cron: 38 11 * * 6
1212
jobs:

‎.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: coverage
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66

77
jobs:
88
tarpaulin:

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ This repository provides the following Rust crates for data-encoding:
1818
[binary]: https://crates.io/crates/data-encoding-bin
1919
[ci]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml
2020
[ci_badge]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml/badge.svg
21-
[coveralls]: https://coveralls.io/github/ia0/data-encoding?branch=master
22-
[coveralls_badge]: https://coveralls.io/repos/github/ia0/data-encoding/badge.svg?branch=master
21+
[coveralls]: https://coveralls.io/github/ia0/data-encoding?branch=main
22+
[coveralls_badge]: https://coveralls.io/repos/github/ia0/data-encoding/badge.svg?branch=main
2323
[documentation]: https://docs.rs/data-encoding
2424
[documentation_badge]: https://docs.rs/data-encoding/badge.svg
2525
[library]: https://crates.io/crates/data-encoding
26-
[license]: https://github.com/ia0/data-encoding/blob/master/LICENSE
26+
[license]: https://github.com/ia0/data-encoding/blob/main/LICENSE
2727
[license_badge]: https://img.shields.io/crates/l/data-encoding.svg
2828
[macro]: https://docs.rs/data-encoding-macro
2929
[version_badge]: https://img.shields.io/crates/v/data-encoding.svg

‎lib/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ See the [documentation] for more details.
2929

3030
[ci]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml
3131
[ci_badge]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml/badge.svg
32-
[coveralls]: https://coveralls.io/github/ia0/data-encoding?branch=master
33-
[coveralls_badge]: https://coveralls.io/repos/github/ia0/data-encoding/badge.svg?branch=master
32+
[coveralls]: https://coveralls.io/github/ia0/data-encoding?branch=main
33+
[coveralls_badge]: https://coveralls.io/repos/github/ia0/data-encoding/badge.svg?branch=main
3434
[documentation]: https://docs.rs/data-encoding

‎update_www.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ CUR_STATUS="$(git status --porcelain)"
99
[ -z "$CUR_STATUS" ] || fail "Working directory is dirty."
1010

1111
CUR_BRANCH="$(git symbolic-ref -q HEAD)"
12-
[ "$CUR_BRANCH" = refs/heads/master ] ||
13-
fail "Current branch is not master"
12+
[ "$CUR_BRANCH" = refs/heads/main ] ||
13+
fail "Current branch is not main"
1414

1515
CUR_COMMIT="$(git rev-parse -q --verify HEAD)"
1616
DOC_BRANCH=gh-pages
@@ -24,4 +24,4 @@ rm -r www
2424
echo -n 'data-encoding.rs' > CNAME
2525
git add .
2626
git commit -qm"$CUR_COMMIT"
27-
git checkout -q master
27+
git checkout -q main

‎xtask/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ impl Flags {
374374
let mut ci = Workflow {
375375
name: "Continuous Integration".to_owned(),
376376
on: WorkflowOn {
377-
push: WorkflowEvents { branches: vec!["master".to_owned()] },
378-
pull_request: WorkflowEvents { branches: vec!["master".to_owned()] },
377+
push: WorkflowEvents { branches: vec!["main".to_owned()] },
378+
pull_request: WorkflowEvents { branches: vec!["main".to_owned()] },
379379
schedule: vec![WorkflowSchedule { cron: "38 11 * * 6".to_owned() }],
380380
},
381381
jobs: BTreeMap::new(),

0 commit comments

Comments
 (0)