Compare commits

...

3 Commits

Author SHA1 Message Date
da33f508d8 Added badges for dtools
Create release / build-release (push) Has been cancelled
2025-11-24 18:15:35 -07:00
47b3f4057b Updated single-command install 2025-11-24 18:12:35 -07:00
fa2542267e Overriding the github token directly for the release 2025-11-24 18:07:14 -07:00
3 changed files with 11 additions and 11 deletions
+3 -5
View File
@@ -58,11 +58,9 @@ jobs:
echo "sha=dist/$name.sha256" >> $GITHUB_OUTPUT
echo "bin=dist/$bin" >> $GITHUB_OUTPUT
- name: Publish Archive and SHA
- name: Publish Archive, binary and SHA
if: env.ACT != 'true'
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
${{ steps.package.outputs.archive }}
@@ -71,7 +69,7 @@ jobs:
tag_name: v${{ steps.check-tag.outputs.version }}
name: "v${{ steps.check-tag.outputs.version }}"
prerelease: ${{ steps.check-tag.outputs.rc == 'true' }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.DTOOLS_GITHUB_TOKEN }}
- name: Add artifacts
shell: bash
@@ -84,6 +82,6 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts-v${{ env.VERSION }}
name: artifacts-v${{ steps.check-tag.outputs.version }}
path: artifacts
overwrite: true
+7 -5
View File
@@ -1,4 +1,8 @@
# Devtools
![Release](https://img.shields.io/github/v/release/Dark-Alex-17/dtools?color=%23c694ff)
[![GitHub Downloads](https://img.shields.io/github/downloads/Dark-Alex-17/dtools/total.svg?label=GitHub%20downloads)](https://github.com/Dark-Alex-17/dtools/releases)
**Devtools (`dtools`)** is a comprehensive CLI utility that consolidates reusable development scripts, tools, and
references into a single, easy-to-use interface. Built with the [Bashly](https://github.com/DannyBen/bashly) framework, it serves multiple purposes:
@@ -24,13 +28,11 @@ For any and all issues, don't hesitate to create a bug report or feature request
To install the `dtools` script, run the following command:
```shell
git clone git@github.com:Dark-Alex-17/devtools.git ~/.local/share/devtools && pushd ~/.local/share/devtools && make install && popd
curl -fsSL https://raw.githubusercontent.com/Dark-Alex-17/dtools/refs/heads/main/scripts/install.sh | bash
```
This will install the repo to `~/.local/share/devtools` and run the `make install` command to build and install the
script to your local bin directory (usually `~/.local/bin`).
This will also install the tab completions to your `~./bashrc`, so be sure to `source ~/.bashrc` to enable the completions.
This will install `dtools` to `~/.local/bin/dtools`, and install the tab completions to your `~./bashrc`. So be sure to
`source ~/.bashrc` to enable the completions.
Just run `dtools --help` to get started!
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
if ! [[ -L "$HOME/.local/bin/dtools" ]]; then
sudo ln -s "$PWD/dtools" "$HOME/.local/bin/dtools"
wget -O "$HOME/.local/bin/dtools" "https://github.com/Dark-Alex-17/dtools/releases/latest/download/dtools"
fi
# shellcheck disable=SC2016