From 8ce96da37042ec505907df8a4bb2984fc6daf370 Mon Sep 17 00:00:00 2001 From: Raphael Reitzig <4246780+reitzig@users.noreply.github.com> Date: Tue, 27 Jun 2023 00:26:16 +0200 Subject: [PATCH] chore: Switch trunk to `main` Also, upgrade copyright notice. --- .github/workflows/codeql.yml | 4 ++-- LICENSE | 2 +- README.md | 4 ++-- completions/sdk.fish | 2 +- conf.d/sdk.fish | 2 +- functions/sdk.fish | 6 ++++++ 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1ec0a91..af22ec6 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,10 +2,10 @@ name: "CodeQL" on: push: - branches: [ "master" ] + branches: [ "main" ] pull_request: # The branches below must be a subset of the branches above - branches: [ "master" ] + branches: [ "main" ] schedule: - cron: '18 11 * * 3' diff --git a/LICENSE b/LICENSE index fa759ed..3cdaa91 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018-2022 Raphael Reitzig +Copyright (c) 2018-2023 Raphael Reitzig Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index ea06203..c8c08c9 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # SDKMAN! for fish -[![license](https://img.shields.io/github/license/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/blob/master/LICENSE) +[![license](https://img.shields.io/github/license/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/blob/main/LICENSE) [![release](https://img.shields.io/github/release/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/releases/latest) [![GitHub release date](https://img.shields.io/github/release-date/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/releases) -[![Test](https://github.com/reitzig/sdkman-for-fish/workflows/Tests/badge.svg?branch=master&event=push)](https://github.com/reitzig/sdkman-for-fish/actions?query=workflow%3ATests+branch%3Amaster+event%3Apush++) +[![Test](https://github.com/reitzig/sdkman-for-fish/workflows/Tests/badge.svg?branch=main&event=push)](https://github.com/reitzig/sdkman-for-fish/actions?query=workflow%3ATests+branch%3Amain+event%3Apush++) [![CodeQL](https://github.com/reitzig/sdkman-for-fish/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/reitzig/sdkman-for-fish/actions/workflows/codeql-analysis.yml) Makes command `sdk` from [SDKMAN!] usable from [fish], including auto-completion. diff --git a/completions/sdk.fish b/completions/sdk.fish index b92a0be..7908dc8 100644 --- a/completions/sdk.fish +++ b/completions/sdk.fish @@ -1,6 +1,6 @@ # Defines autocompletion for SDKMAN! -# Copyright (c) 2018-2022 Raphael Reitzig +# Copyright (c) 2018-2023 Raphael Reitzig # MIT License (MIT) # https://github.com/reitzig/sdkman-for-fish diff --git a/conf.d/sdk.fish b/conf.d/sdk.fish index aa133f4..91677cb 100644 --- a/conf.d/sdk.fish +++ b/conf.d/sdk.fish @@ -3,7 +3,7 @@ # Makes command and binaries from SDKMAN! available in fish. # Delegates to bash for the `sdk` command. -# Copyright (c) 2018-2022 Raphael Reitzig +# Copyright (c) 2018-2023 Raphael Reitzig # MIT License (MIT) # https://github.com/reitzig/sdkman-for-fish diff --git a/functions/sdk.fish b/functions/sdk.fish index 1bc2a16..25def1f 100644 --- a/functions/sdk.fish +++ b/functions/sdk.fish @@ -1,3 +1,9 @@ +# Wrapper function for SDKMAN! + +# Copyright (c) 2018-2023 Raphael Reitzig +# MIT License (MIT) +# https://github.com/reitzig/sdkman-for-fish + function sdk -d "Manage SDKs" # Guard: SDKMAN! needs to be installed if not test -f "$__fish_sdkman_init"