Skip to content

Commit

Permalink
Merge pull request #2 from amalprasad0/UPDATE
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
amalprasad0 authored Jun 1, 2022
2 parents 807f14c + 6f3b78d commit a77be56
Show file tree
Hide file tree
Showing 13 changed files with 1,177 additions and 46 deletions.
76 changes: 76 additions & 0 deletions .github/worksflow/readm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: "Automatic Release"

on:
push:
branches:
- master
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Get latest release
id: get-latest-release
uses: InsonusK/get-latest-release@v1.0.1
with:
myToken: ${{ github.token }}
view_top: 1

- name: Get next tag
id: next-tag
run: |
prev_version=$(echo "${{ steps.get-latest-release.outputs.tag_name }}" | sed -E 's/\..*//g')
echo "Previous version: $((prev_version))"
echo "Next version: $((prev_version+1))"
echo "::set-output name=tag::$((prev_version+1)).0"
- name: Create tag
uses: tvdias/github-tagger@v0.0.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
tag: ${{ steps.next-tag.outputs.tag }}

- uses: fregante/release-with-changelog@v3
id: release-with-changelog
with:
token: ${{ secrets.GITHUB_TOKEN }}
exclude: '^meta|^docs|^document|^lint|^ci|^refactor|readme|workflow|bump|dependencies|yml|^v?\d+\.\d+\.\d+'
tag: ${{ steps.next-tag.outputs.tag }}
title: 'Version ${{ steps.next-tag.outputs.tag }}'
commit-template: '- {hash} {title}'
skip-on-empty: true
template: |
### Changelog
{commits}
{range}
- name: Delete tag if release skipped
if: ${{ steps.release-with-changelog.outputs.skipped == 'true' }}
run: |
git tag -d ${{ steps.next-tag.outputs.tag }}
git push origin :refs/tags/${{ steps.next-tag.outputs.tag }}
- name: Readme Download Button Action
if: ${{ steps.release-with-changelog.outputs.skipped == 'false' }}
env:
GITHUB_USER: "amalprasad0"
REPO: "Liquid-Loop-Security-Software"
FORMAT: "zip"
VERSION: "1.0.0"
COLOR: "blue"
BEGIN_TAG: "<!-- BEGIN LATEST DOWNLOAD BUTTON -->"
END_TAG: "<!-- END LATEST DOWNLOAD BUTTON -->"
run: |
UPDATE=$(cat README.md | perl -0777 -pe 's#(${{ env.BEGIN_TAG }})(?:.|\n)*?(${{ env.END_TAG }})#${1}\n[![Download ${{ env.FORMAT }}](https://custom-icon-badges.herokuapp.com/badge/-Download-${{ env.COLOR }}?style=for-the-badge&logo=download&logoColor=white "Download ${{ env.FORMAT }}")](https://github.com/${{ env.GITHUB_USER }}/${{ env.REPO }}/archive/${{ env.VERSION }}.${{ env.FORMAT }})\n${2}#g')
echo "${UPDATE}" > README.md
- uses: EndBug/add-and-commit@v7
if: ${{ steps.release-with-changelog.outputs.skipped == 'false' }}
with:
message: 'docs: Bump version to ${{ steps.next-tag.outputs.tag }}'
default_author: github_actions
3 changes: 3 additions & 0 deletions Data Records/Student.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2022-05-27|10:00PM|PRAJWAL|4DM19IS043|1234567890|OUT|MOODBIDRI
2022-05-27|10:01PM|PRAJWAL|4DM19IS045|1234567890|OUT|MOODBIDRI
2022-05-28|5:00|AKSHAY KUMAR|4DM19IS006|1234567890|OUT|MANGLORE
12 changes: 9 additions & 3 deletions Data Records/Vehicle.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
2022-05-22|12:02:42|KL79G7900|IN|AMAL PRASAD|7306557354|CAR|HOME
2022-05-22|20:54:11|TN65H654|OUT|SUBIN ANAND|1234567890|BIKE|MOODBIDRI
2022-05-24|19:01:47|KL14A1000|OUT|SABU TV|896756551|BIKE|OUTSIDE
2022-05-26|17:36:41|TN19IS0089|OUT|ASEEL|78906754|TRUCK|VEGITABLES
2022-05-24|19:01:47|KL14A7000|OUT|LIBIN SABU |896756551|BIKE|OUTSIDE
2022-05-26|19:15:07:PM|TN68K8900|OUT|SUNNY |994763821|TRUCK|HOME
2022-05-22|20:54:11|KL79G7900|OUT|AMAL PRASAD|7306557354|BIKE|MOODBIDRI
2022-05-30|14:35:24:PM|GA12H7890|IN|ADHITHYAN|9947789622|CAR|HOME
2022-06-01|00:22:56:AM|ZXCVBNM,./|OUT|ASDFGHJKL;|7306557354|CVBNM,| BNM,
2022-06-01|00:22:56:AM|ZXCVBNM,./|OUT|ASDFGHJKL;|7306557354|CVBNM,| BNM,
2022-06-01|21:04:54 PM|KL17U6799|OUT|PRASAD KP|9947789622|CAR|HOME
2022-06-01|21:05:07 PM|KL17U6799|OUT|PRASAD KP|9947789622|CAR|HOME
2022-06-01|21:07:08 PM|KL78ID007|IN|SABU VV|45678901234|TRUCK|HOME
2 changes: 2 additions & 0 deletions Data Records/sms.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Download the helper library from https://www.twilio.com/docs/python/install
import twilio
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Liquid-Loop-Security-Software


<h3 align="left">Releases</h3>
<p align="left"><a href="https://github.com/amalprasad0/Liquid-Loop-Security-Software/releases/tag/v1.0.0"> Download</a></p>
<br>
<p align="left"><a href="https://github.com/amalprasad0/Liquid-Loop-Security-Software/commits/v1.0.0)"> chanelog</a></p>





<h3 align="left">Languages and Tools:</h3>
<p align="left"> <a href="https://www.figma.com/" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/figma/figma-icon.svg" alt="figma" width="40" height="40"/> </a> <a href="https://www.python.org" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg" alt="python" width="40" height="40"/> </a> <a href="https://www.qt.io/" target="_blank" rel="noreferrer"> <img src="https://upload.wikimedia.org/wikipedia/commons/0/0b/Qt_logo_2016.svg" alt="qt" width="40" height="40"/> </a> </p>
File renamed without changes.
Binary file modified __pycache__/gui.cpython-39.pyc
Binary file not shown.
Binary file added assets/barrier.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/volleyball-logo_20448-59.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Loading

0 comments on commit a77be56

Please sign in to comment.