Compare commits
3 Commits
191289d1ec
...
v1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
| da33f508d8 | |||
| 47b3f4057b | |||
| fa2542267e |
@@ -58,11 +58,9 @@ jobs:
|
|||||||
echo "sha=dist/$name.sha256" >> $GITHUB_OUTPUT
|
echo "sha=dist/$name.sha256" >> $GITHUB_OUTPUT
|
||||||
echo "bin=dist/$bin" >> $GITHUB_OUTPUT
|
echo "bin=dist/$bin" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Publish Archive and SHA
|
- name: Publish Archive, binary and SHA
|
||||||
if: env.ACT != 'true'
|
if: env.ACT != 'true'
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
${{ steps.package.outputs.archive }}
|
${{ steps.package.outputs.archive }}
|
||||||
@@ -71,7 +69,7 @@ jobs:
|
|||||||
tag_name: v${{ steps.check-tag.outputs.version }}
|
tag_name: v${{ steps.check-tag.outputs.version }}
|
||||||
name: "v${{ steps.check-tag.outputs.version }}"
|
name: "v${{ steps.check-tag.outputs.version }}"
|
||||||
prerelease: ${{ steps.check-tag.outputs.rc == 'true' }}
|
prerelease: ${{ steps.check-tag.outputs.rc == 'true' }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.DTOOLS_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Add artifacts
|
- name: Add artifacts
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -84,6 +82,6 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifacts-v${{ env.VERSION }}
|
name: artifacts-v${{ steps.check-tag.outputs.version }}
|
||||||
path: artifacts
|
path: artifacts
|
||||||
overwrite: true
|
overwrite: true
|
||||||
@@ -1,4 +1,8 @@
|
|||||||
# Devtools
|
# Devtools
|
||||||
|
|
||||||
|

|
||||||
|
[](https://github.com/Dark-Alex-17/dtools/releases)
|
||||||
|
|
||||||
**Devtools (`dtools`)** is a comprehensive CLI utility that consolidates reusable development scripts, tools, and
|
**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:
|
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:
|
To install the `dtools` script, run the following command:
|
||||||
|
|
||||||
```shell
|
```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
|
This will install `dtools` to `~/.local/bin/dtools`, and install the tab completions to your `~./bashrc`. So be sure to
|
||||||
script to your local bin directory (usually `~/.local/bin`).
|
`source ~/.bashrc` to enable the completions.
|
||||||
|
|
||||||
This will also install the tab completions to your `~./bashrc`, so be sure to `source ~/.bashrc` to enable the completions.
|
|
||||||
|
|
||||||
Just run `dtools --help` to get started!
|
Just run `dtools --help` to get started!
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if ! [[ -L "$HOME/.local/bin/dtools" ]]; then
|
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
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
|
|||||||
Reference in New Issue
Block a user