Skip to content

Commit

Permalink
Rename main branch to 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero committed Apr 10, 2021
1 parent 2c8a3e2 commit b2cc2fe
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build & publish docs
on:
push:
branches:
- master
- main

env:
SITE_DIR: 'site'
Expand Down Expand Up @@ -46,4 +46,4 @@ jobs:
FOLDER: "${{ env.SITE_DIR }}"
BRANCH: 'gh-pages'
COMMIT_MESSAGE: "[CI] Publish Documentation for ${{ github.sha }}"
CLEAN: true
CLEAN: true
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
build:
Expand Down Expand Up @@ -36,4 +36,4 @@ jobs:
key: ${{ runner.os }}-mvn-cache-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-mvn-cache-
- name: Build
run: ./mvnw -B -V -Prun-its clean verify
run: ./mvnw -B -V -Prun-its clean verify
2 changes: 1 addition & 1 deletion CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ifndef::icons[]
endif::[]

This document provides a high-level view of the changes introduced on Asciidoctor Maven Plugin by release.
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
For a detailed view of what has changed, refer to the {uri-repo}/commits/main[commit history] on GitHub.

== Unreleased

Expand Down
12 changes: 6 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ ifndef::env-github[:icons: font]
:uri-asciidoctor: http://asciidoctor.org
:uri-examples: https://github.com/asciidoctor/asciidoctor-maven-examples
:uri-maven: http://maven.apache.org
:uri-license: {uri-repo}/blob/master/LICENSE.txt
:uri-license: {uri-repo}/blob/main/LICENSE.txt
:uri-docs: https://asciidoctor.github.io/asciidoctor-maven-plugin/maven-tools/{docs-version}
// GitHub customization
ifdef::env-github[]
:badges:
:tag: master
:tag: main
:!toc-title:
:tip-caption: :bulb:
:note-caption: :paperclip:
Expand All @@ -33,10 +33,10 @@ endif::[]

// Badges
ifdef::badges[]
image:https://ci.appveyor.com/api/projects/status/chebmu91f08dlmsc/branch/master?svg=true["Build Status (AppVeyor)", link="https://ci.appveyor.com/project/asciidoctor/asciidoctor-maven-plugin"]
image:http://img.shields.io/travis/asciidoctor/asciidoctor-maven-plugin/master.svg["Build Status (Travis CI)", link="https://travis-ci.org/asciidoctor/asciidoctor-maven-plugin"]
image:https://ci.appveyor.com/api/projects/status/chebmu91f08dlmsc/branch/main?svg=true["Build Status (AppVeyor)", link="https://ci.appveyor.com/project/asciidoctor/asciidoctor-maven-plugin"]
image:http://img.shields.io/travis/asciidoctor/asciidoctor-maven-plugin/main.svg["Build Status (Travis CI)", link="https://travis-ci.org/asciidoctor/asciidoctor-maven-plugin"]
image:{uri-repo}/workflows/Build/badge.svg[Build Status,link={uri-repo}/actions]
image:http://img.shields.io/coveralls/{project-repo}/master.svg["Coverage Status", link="https://coveralls.io/r/{project-repo}?branch=master"]
image:http://img.shields.io/coveralls/{project-repo}/main.svg["Coverage Status", link="https://coveralls.io/r/{project-repo}?branch=main"]
image:https://maven-badges.herokuapp.com/maven-central/org.asciidoctor/asciidoctor-maven-plugin/badge.svg["Maven Central",link="https://maven-badges.herokuapp.com/maven-central/org.asciidoctor/asciidoctor-maven-plugin"]
image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
endif::[]
Expand All @@ -57,7 +57,7 @@ ifndef::env-site[]
* link:README_zh-CN.adoc[汉语]
endif::[]

ifeval::['{tag}' == 'master']
ifeval::['{tag}' == 'main']
[NOTE]
====
You're viewing the documentation for the upcoming release.
Expand Down
6 changes: 3 additions & 3 deletions README_zh-CN.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ifdef::env-github[:badges:]
:uri-maven: http://maven.apache.org
// GitHub customization
ifdef::env-github[]
:tag: master
:tag: main
:!toc-title:
:tip-caption: :bulb:
:note-caption: :paperclip:
Expand All @@ -28,8 +28,8 @@ endif::[]
// Badges
ifdef::badges[]
image:https://ci.appveyor.com/api/projects/status/chebmu91f08dlmsc/branch/master?svg=true["Build Status (AppVeyor)", link="https://ci.appveyor.com/project/asciidoctor/asciidoctor-maven-plugin"]
image:http://img.shields.io/travis/asciidoctor/asciidoctor-maven-plugin/master.svg["Build Status (Travis CI)", link="https://travis-ci.org/asciidoctor/asciidoctor-maven-plugin"]
image:http://img.shields.io/coveralls/{project-repo}/master.svg["Coverage Status", link="https://coveralls.io/r/{project-repo}?branch=master"]
image:http://img.shields.io/travis/asciidoctor/asciidoctor-maven-plugin/main.svg["Build Status (Travis CI)", link="https://travis-ci.org/asciidoctor/asciidoctor-maven-plugin"]
image:http://img.shields.io/coveralls/{project-repo}/main.svg["Coverage Status", link="https://coveralls.io/r/{project-repo}?branch=main"]
image:https://maven-badges.herokuapp.com/maven-central/org.asciidoctor/asciidoctor-maven-plugin/badge.svg["Maven Central",link="https://maven-badges.herokuapp.com/maven-central/org.asciidoctor/asciidoctor-maven-plugin"]
endif::[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ When a custom value is set, no other paths are checked.
====
All paths and AsciiDoc documents that start with `pass:[_]` are considered _internal_ and are skipped.
That is, AsciiDocs are not converted and resources are not copied from them, but you can include them normally from other AsciiDocs. +
This is useful to split your sources in sets of master documents and included parts.
This is useful to split your sources in sets of main documents and included parts.
====

sourceDocumentName:: an override to process a single source file; defaults to all files in [.path]`$\{sourceDirectory}`.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/project/pages/copyright-and-licence.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
== Copyright and License
:uri-license: https://github.com/asciidoctor/asciidoctor-maven-plugin/blob/master/LICENSE.txt
:uri-license: https://github.com/asciidoctor/asciidoctor-maven-plugin/blob/main/LICENSE.txt

Copyright (C) 2013-2020 Jason Porter, Dan Allen, Abel Salgado Romero and the individual contributors.
Use of this software is granted under the terms of the Apache License, Version 2.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include::unexistingdoc.adoc[]

include::unexistingdoc.adoc[]

include::https://raw.githubusercontent.com/asciidoctor/asciidoctor-maven-plugin/master/src/test/resources/src/asciidoctor/github-include.adoc[]
include::https://raw.githubusercontent.com/asciidoctor/asciidoctor-maven-plugin/main/src/test/resources/src/asciidoctor/github-include.adoc[]

include::unexistingdoc.adoc[]

Expand All @@ -22,4 +22,4 @@ public class HelloWorld {
}
----
<1> Missing callout reference?
<1> Missing callout reference?

0 comments on commit b2cc2fe

Please sign in to comment.