Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
**When merged this pull request will:**
## When merged this pull request will:

- Describe what this pull request will do
- Each change in a separate line

### Important
- [ ] If the contribution affects the documentation, please include your changes in this pull request.
## Important

- [ ] [Development Guidelines](https://github.com/TacticalTrainingTeam/TTT_PartnerMod/blob/main/.github/CONTRIBUTING.md) are read, understood and applied.
- [ ] Title of this PR uses our standard template `Component - Add|Fix|Improve|Change|Remove {changes}`.

<!-- Known issues that need to be addressed -->
### Known Issues
## Known Issues

- [ ] Issue
50 changes: 50 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
branches:
- main

# The version isn't resolved from PR labels — script_version.hpp and the
# git tag created at release time are the source of truth. Retitle/retag
# this draft to match before publishing.
name-template: 'Unreleased'
tag-template: 'unreleased'

sort-by: title # sort alphabetically
sort-direction: ascending

# Category names match Keep a Changelog (https://keepachangelog.com/en/1.1.0/)
# so a drafted release's notes group changes the same way CHANGELOG.md does.
categories:
- title: 'Added'
labels:
- 'changelog/added'
- title: 'Changed'
labels:
- 'changelog/changed'
- title: 'Deprecated'
labels:
- 'changelog/deprecated'
- title: 'Removed'
labels:
- 'changelog/removed'
- title: 'Fixed'
labels:
- 'changelog/fixed'
- title: 'Security'
labels:
- 'changelog/security'

exclude-labels:
- 'ignore-changelog'
- 'tools'
- 'documentation'

change-template: '* $TITLE (#$NUMBER) by $AUTHOR'
template: |
_Requires the latest Version of [CBA](https://github.com/CBATeam/CBA_A3) and [ACE](https://github.com/acemod/ACE3)._

## Summary

$CHANGES

## Contributors

$CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Setup HEMTT
uses: arma-actions/hemtt@v1
- name: Run HEMTT check
run: hemtt check -p -vvv
run: hemtt check
23 changes: 23 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release Drafter

on:
push:
branches:
- main

permissions:
contents: read

jobs:
draft:
if: github.repository == 'TacticalTrainingTeam/TTT_PartnerMod'
permissions:
# write permission is required to create a github release
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Draft Release
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43 changes: 26 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
name: Upload Release
# This action will use hemtt release to build and sign the mod, then
# attach the resulting zip to the GitHub release.
#
# Steam Workshop publishing is handled separately via `hemtt publish`
# (https://hemtt.dev), not by this workflow.

name: Release

on:
release:
types: [ "published" ]
types: released

permissions:
contents: write

jobs:
release:
release-addon:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v7
- name: Checkout the source code
uses: actions/checkout@v7

- name: Setup HEMTT
uses: arma-actions/hemtt@v1
- name: Setup HEMTT
uses: arma-actions/hemtt@v1

- name: Build TTT Partner Mod Release
run: hemtt release
- name: Run HEMTT build
run: hemtt release

- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: releases/ttt_pm-latest.zip
asset_name: ttt_pm-$tag.zip
tag: ${{ github.ref }}
overwrite: true
- name: Upload release to GitHub
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: releases/ttt_pm-latest.zip
asset_name: ttt_pm-${{ github.ref_name }}.zip
tag: ${{ github.ref }}
overwrite: true
8 changes: 2 additions & 6 deletions .github/workflows/arma.yml → .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ jobs:
steps:
- name: Checkout the source code
uses: actions/checkout@v7
- name: Validate Config
run: python tools/config_style_checker.py
- name: Validate Stringtables
run: python3 tools/stringtable_validator.py
- name: Check for BOM
uses: arma-actions/bom-check@master
with:
path: "addons"
- name: Validate Config
run: python tools/config_style_checker.py
2 changes: 1 addition & 1 deletion .hemtt/project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include = [
"meta.cpp",
"logo_ttt_pm.png",
"logo_ttt_pm_ca.paa",
"LICENSE.md",
"LICENSE",
"README.md",
]
exclude = []
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<a href="https://github.com/TacticalTrainingTeam/TTT_PartnerMod/issues">
<img src="https://img.shields.io/github/issues-raw/TacticalTrainingTeam/TTT_PartnerMod.svg?style=flat-square&label=Issues" alt="TTT_PartnerMod Issues">
</a>
<a href="https://github.com/TacticalTrainingTeam/TTT_PartnerMod/blob/main/LICENSE.md">
<a href="https://github.com/TacticalTrainingTeam/TTT_PartnerMod/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-APL ND-red?style=flat-square" alt="TTT_PartnerMod License">
</a>
<br>
<img src="https://img.shields.io/github/actions/workflow/status/TacticalTrainingTeam/TTT_PartnerMod/hemtt.yml?style=flat-square&label=HEMTT" alt="HEMTT">
<img src="https://img.shields.io/github/actions/workflow/status/TacticalTrainingTeam/TTT_PartnerMod/arma.yml?style=flat-square&label=Validate" alt="Validate">
<img src="https://img.shields.io/github/actions/workflow/status/TacticalTrainingTeam/TTT_PartnerMod/check.yml?style=flat-square&label=Check" alt="Check">
<img src="https://img.shields.io/github/actions/workflow/status/TacticalTrainingTeam/TTT_PartnerMod/validate.yml?style=flat-square&label=Validate" alt="Validate">
</p>

<p align="center">
Expand All @@ -31,7 +31,7 @@ by providing ingame access to the Community Logos via ACE-Tagging.

The project is entirely **open-source** and any contributions are welcome.

## Core Features
## Features

- Add a new Spraypaint that allows the user to tag an object with the four Community Logos
- Add the Numbers 0-9 to the Black Spraypaint
Expand All @@ -44,4 +44,4 @@ For new contributors, see the [Contributing Setup & Guidelines](./.github/CONTRI

## License

TTT_PartnerMod is licensed under [APL-ND](./LICENSE.md).
TTT_PartnerMod is licensed under [APL-ND](./LICENSE).
38 changes: 38 additions & 0 deletions workshop/steam_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[h1]TTT Partner Mod[/h1]

[b]TTT Partner Mod[/b] (TTT PM) aims to enhance the gameplay of [url=https://www.tacticalteam.de]Tactical Training Team[/url] and its partners:

[list]
[*] [url=https://www.gruppe-w.de]Gruppe W[/url]
[*] [url=https://gruppe-adler.de/]Gruppe Adler[/url]
[*] [url=https://prae-garde.de]Praetorianische Garde[/url]
[/list]

by providing ingame access to the community logos via ACE-Tagging.

[h1]Requirements[/h1]

[list]
[*] [url=https://github.com/CBATeam/CBA_A3]CBA_A3[/url]
[*] [url=https://github.com/acemod/ACE3]ACE3[/url]
[/list]

[h1]Features[/h1]

[list]
[*] Add a new spraypaint that allows the user to tag an object with the four community logos
[*] Add the numbers 0-9 to the black spraypaint
[/list]

[h1]Source & Issues[/h1]

Fully open-source. Bug reports, feature requests, and contributions are all welcome.

[url=https://github.com/TacticalTrainingTeam/TTT_PartnerMod]GitHub Repository[/url]
[url=https://github.com/TacticalTrainingTeam/TTT_PartnerMod/issues]Report an Issue[/url]

Licensed under [url=https://github.com/TacticalTrainingTeam/TTT_PartnerMod/blob/main/LICENSE]APL-ND[/url].

---

Suchst du eine deutschsprachige Arma3 und Reforger Community? -> https://www.tacticalteam.de/mitmachen