Skip to content

Commit

Permalink
Merge pull request #103 from HoI4-LOTRMod-Team/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Helliaca authored Oct 14, 2023
2 parents cabc34f + d50d18e commit 10a2599
Show file tree
Hide file tree
Showing 1,683 changed files with 22,350 additions and 33,815 deletions.
3 changes: 3 additions & 0 deletions .cursorignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
gfx*
scenario_tests*
.vscode*
39 changes: 39 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on:
push:
branches:
- master

name: Create Release

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get current date and time in CEST, and compatible version from descriptor.mod
id: get-version
run: |
# Read compatible version from descriptor.mod and remove quotes
compatible_version=$(grep -oP 'supported_version="\K[0-9]+\.[0-9]+\.\*' descriptor.mod | sed 's/"//g')
# Get current date and time in CEST
date_time=$(TZ="Europe/Paris" date +'%d-%m-%Y_%H-%M')
echo "::set-output name=compatible_version::$compatible_version"
echo "::set-output name=date_time::$date_time"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.LOTR_MOD_RELEASE_TOKEN }}
with:
tag_name: ${{ steps.get-version.outputs.date_time }}
release_name: ${{ steps.get-version.outputs.date_time }}
body: |
Compatible HoI4 Version: v${{ steps.get-version.outputs.compatible_version }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion common/ideas/generic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ ideas = {

removal_cost = -1

picture = idea_generic_belligerent_drift_bonus
picture = generic_belligerent_drift_bonus

modifier = {
belligerent_drift = 0.15
Expand Down
Loading

0 comments on commit 10a2599

Please sign in to comment.